mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-21 12:38:34 +00:00
Tik-tok pixels are hard
This commit is contained in:
parent
72ceb44a60
commit
2fedc4702b
@ -274,9 +274,9 @@ void drawDigitalClockFrame(OLEDDisplay *display, OLEDDisplayUiState *state, int1
|
||||
|
||||
// draw seconds string
|
||||
display->setFont(FONT_SMALL);
|
||||
int xOffset = (SCREEN_WIDTH > 128) ? 0 : 0;
|
||||
int xOffset = (SCREEN_WIDTH > 128) ? 0 : -1;
|
||||
if (hour >= 10) {
|
||||
xOffset += (SCREEN_WIDTH > 128) ? 0 : 17;
|
||||
xOffset += (SCREEN_WIDTH > 128) ? 0 : 18;
|
||||
}
|
||||
int yOffset = (SCREEN_WIDTH > 128) ? 3 : 1;
|
||||
if (config.display.use_12h_clock) {
|
||||
|
Loading…
Reference in New Issue
Block a user