Left-aligned dots for companions

This commit is contained in:
Kevin Le committed 2026-10-22 23:21:43 +07:00
1 parent d838bdbb92
commit 4689569095
1 file changed
+2 -1
+2 -1
View File
@@ -305,7 +305,8 @@ public:
display.setColor(UIColor::title_bkg);
}
int y = 14;
int x = display.width() / 2 - 5 * (HomePage::Count-1);
// PowerSaving variant
int x = 5; // Left-aligned dots
for (uint8_t i = 0; i < HomePage::Count; i++, x += 10) {
if (i == _page) {
display.fillRect(x-1, y-1, 4, 4);