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
+3 -1
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;