Correct issue #398

This commit is contained in:
Bodmer
2019-07-30 17:59:08 +01:00
parent 00bf69fc48
commit 4a38aa6aec
3 changed files with 5 additions and 3 deletions

View File

@@ -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;

View File

@@ -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":

View File

@@ -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