Skip to content

Commit d18ca11

Browse files
authored
Cloder to middle vertical align
Due to the 4px spacing, the indicators are a bit offset when adding them to LEFT or RIGHT sides of screen
1 parent fcf7e11 commit d18ca11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OLEDDisplayUi.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,11 +372,11 @@ void OLEDDisplayUi::drawIndicator() {
372372
break;
373373
case RIGHT:
374374
x = 120 + (8 * indicatorFadeProgress);
375-
y = 32 - frameStartPos + 12 * i;
375+
y = 32 - frameStartPos + 2 + 12 * i;
376376
break;
377377
case LEFT:
378378
x = 0 - (8 * indicatorFadeProgress);
379-
y = 32 - frameStartPos + 12 * i;
379+
y = 32 - frameStartPos + 2 + 12 * i;
380380
break;
381381
}
382382

0 commit comments

Comments
 (0)