Tik-tok pixels are hard

This commit is contained in:
Jason P 2025-06-08 18:57:53 -05:00
parent 72ceb44a60
commit 2fedc4702b

View File

@ -274,9 +274,9 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1
// draw seconds string // draw seconds string
display->setFont(FONT_SMALL); display->setFont(FONT_SMALL);
int xOffset = (SCREEN_WIDTH > 128) ? 0 : 0; int xOffset = (SCREEN_WIDTH > 128) ? 0 : -1;
if (hour >= 10) { if (hour >= 10) {
xOffset += (SCREEN_WIDTH > 128) ? 0 : 17; xOffset += (SCREEN_WIDTH > 128) ? 0 : 18;
} }
int yOffset = (SCREEN_WIDTH > 128) ? 3 : 1; int yOffset = (SCREEN_WIDTH > 128) ? 3 : 1;
if (config.display.use_12h_clock) { if (config.display.use_12h_clock) {