Fix #473
Update to accommodate smooth font rendering, which need a background colour specified.
This commit is contained in:
parent
34117e4830
commit
10078c8325
|
|
@ -52,7 +52,7 @@ void TFT_eSPI_Button::drawButton(boolean inverted) {
|
|||
_gfx->fillRoundRect(_x1, _y1, _w, _h, r, fill);
|
||||
_gfx->drawRoundRect(_x1, _y1, _w, _h, r, outline);
|
||||
|
||||
_gfx->setTextColor(text);
|
||||
_gfx->setTextColor(text, fill);
|
||||
_gfx->setTextSize(_textsize);
|
||||
|
||||
uint8_t tempdatum = _gfx->getTextDatum();
|
||||
|
|
|
|||
Loading…
Reference in New Issue