Richtext now supports more colors, fixed menudisplay selection box overdraw

This commit is contained in:
feedc0de committed 2021-09-05 21:10:33 +02:00
1 parent 941156a291
commit b983070b4d
4 files changed
+19 -11

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ void MenuDisplay::initScreen()
tft.fillScreen(TFT_BLACK);
m_titleLabel.start();
tft.fillRect(0, 34, tft.width(), 3, TFT_WHITE);
tft.fillRect(0, 33, tft.width(), 3, TFT_WHITE);
for (auto &label : m_labels)
label.start();
@@ -94,7 +94,7 @@ void MenuDisplay::redraw()
tft.drawRect(5,
label.y()-1,
tft.width() - 10,
lineHeight+2,
lineHeight+1,
color);
};