Fix #1812
Result of "fillheight = gFont.maxAscent - gdY[gNum];" can be negative.
This commit is contained in:
1 parent
24b0e88852
commit
1f7ce88dbe
1 file changed
+1
-1
@@ -431,7 +431,7 @@ void TFT_eSPI::drawGlyph(uint16_t code)
|
||||
startWrite(); // Avoid slow ESP32 transaction overhead for every pixel
|
||||
|
||||
int16_t fillwidth = 0;
|
||||
uint16_t fillheight = 0;
|
||||
int16_t fillheight = 0;
|
||||
|
||||
// Fill area above glyph
|
||||
if (_fillbg) {
|
||||
|
||||
Reference in new issue
Block a user