mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2025-08-06 06:04:42 +02:00
Merge pull request #1613 from LeFauve/Fix-transparency-bug-in-sprites
Prevent TFT_eSprite::pushToSprite() to skips pixels when dealing with…
This commit is contained in:
@@ -785,7 +785,7 @@ bool TFT_eSprite::pushToSprite(TFT_eSprite *dspr, int32_t x, int32_t y, uint16_t
|
|||||||
ox += pixel_count;
|
ox += pixel_count;
|
||||||
pixel_count = 0;
|
pixel_count = 0;
|
||||||
}
|
}
|
||||||
else ox++;
|
ox++;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sline_buffer[pixel_count++] = rp;
|
sline_buffer[pixel_count++] = rp;
|
||||||
|
Reference in New Issue
Block a user