* T114 display fix

This commit is contained in:
Scott Powell
2026-07-24 18:35:56 +10:00
parent 0c04a47355
commit f83ad03e5e
2 changed files with 14 additions and 10 deletions
+5 -1
View File
@@ -204,7 +204,11 @@ public:
renderBatteryIndicator(display, _task->getBattMilliVolts());
// curr page indicator
display.setColor(UIColor::title_bkg);
if (UIColor::title_bkg == UIColor::window_bkg) {
display.setColor(UIColor::title_txt);
} else {
display.setColor(UIColor::title_bkg);
}
int y = 14;
int x = display.width() / 2 - 5 * (HomePage::Count-1);
for (uint8_t i = 0; i < HomePage::Count; i++, x += 10) {