Fix #1812
Result of "fillheight = gFont.maxAscent - gdY[gNum];" can be negative.
This commit is contained in:
parent
24b0e88852
commit
1f7ce88dbe
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue