mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-21 04:22:22 +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
|
// 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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user