Skip to content

Commit a6cdf2c

Browse files
authored
- Correct vertical alignment for Muzi_Base on On Screen Keyboard (#8774)
1 parent 1523368 commit a6cdf2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/graphics/VirtualKeyboard.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,9 @@ void VirtualKeyboard::drawKey(OLEDDisplay *display, const VirtualKey &key, bool
506506
centeredTextY -= 1;
507507
}
508508
}
509+
#ifdef MUZI_BASE // Correct issue with character vertical position on MUZI_BASE
510+
centeredTextY -= 2;
511+
#endif
509512
display->drawString(textX, centeredTextY, keyText.c_str());
510513
}
511514

0 commit comments

Comments
 (0)