Fixed Theme

This commit is contained in:
KOTYA8
2023-08-03 21:32:00 +03:00
committed by GitHub
parent 16e136443f
commit 54dd7d3ff9

View File

@@ -3061,7 +3061,7 @@ void KeyDown() {
switch (menuoption) { switch (menuoption) {
case 30: case 30:
CurrentTheme --; CurrentTheme --;
if (CurrentTheme > 10) CurrentTheme = 9; if (CurrentTheme > 10) CurrentTheme = 10;
doTheme(); doTheme();
tft.drawRoundRect(10, 30, 300, 170, 5, ActiveColor); tft.drawRoundRect(10, 30, 300, 170, 5, ActiveColor);
tft.fillRoundRect(12, 32, 296, 166, 5, BackgroundColor); tft.fillRoundRect(12, 32, 296, 166, 5, BackgroundColor);