diff --git a/Extensions/Sprite.cpp b/Extensions/Sprite.cpp index c2ecf13..dae49d1 100644 --- a/Extensions/Sprite.cpp +++ b/Extensions/Sprite.cpp @@ -1102,7 +1102,9 @@ void TFT_eSprite::drawPixel(int32_t x, int32_t y, uint32_t color) } else // 1 bpp { - if ((x >= _dwidth) || (y >= _dheight)) return; + + if ((x >= _iwidth) || (y >= _iheight)) return; + if (_rotation == 1) { uint16_t tx = x; diff --git a/library.json b/library.json index 145f754..203187d 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "TFT_eSPI", - "version": "1.4.14", + "version": "1.4.15", "keywords": "tft, ePaper, display, ESP8266, NodeMCU, ESP32, M5Stack, ILI9341, ST7735, ILI9163, S6D02A1, ILI9486, ST7789, RM68140", "description": "A TFT and ePaper SPI graphics library for ESP8266 and ESP32", "repository": diff --git a/library.properties b/library.properties index 1a8d51b..9c964bb 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=TFT_eSPI -version=1.4.14 +version=1.4.15 author=Bodmer maintainer=Bodmer sentence=A fast TFT graphics library for ESP8266 and ESP32 processors for the Arduino IDE