Richtext now supports more colors, fixed menudisplay selection box overdraw
This commit is contained in:
1 parent
941156a291
commit
b983070b4d
4 files changed
+19
-11
No files matched your search
+2
-2
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user