mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-14 06:42:34 +00:00
- Correct vertical alignment for Muzi_Base on On Screen Keyboard (#8774)
This commit is contained in:
@@ -506,6 +506,9 @@ void VirtualKeyboard::drawKey(OLEDDisplay *display, const VirtualKey &key, bool
|
|||||||
centeredTextY -= 1;
|
centeredTextY -= 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#ifdef MUZI_BASE // Correct issue with character vertical position on MUZI_BASE
|
||||||
|
centeredTextY -= 2;
|
||||||
|
#endif
|
||||||
display->drawString(textX, centeredTextY, keyText.c_str());
|
display->drawString(textX, centeredTextY, keyText.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user