Unverified Commit 10078c83 authored by Bodmer's avatar Bodmer Committed by GitHub

Fix #473

Update to accommodate smooth font rendering, which need a background colour specified.
parent 34117e48
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment