fix: set update required on toggling switchActive

From what I can tell, this is necessary to render the upper (or lower) case alphabet immediately
This commit is contained in:
Justin Luque 2026-01-15 20:07:39 -05:00
parent 3937e949bf
commit 1a34af2c87
No known key found for this signature in database
GPG Key ID: 5D19058FC4BE922F

View File

@ -98,6 +98,7 @@ void KeyboardEntryActivity::handleKeyPress() {
if (selectedCol >= SHIFT_COL && selectedCol < SPACE_COL) {
// Shift toggle
shiftActive = !shiftActive;
updateRequired = true;
return;
}
@ -361,6 +362,7 @@ void KeyboardEntryActivity::renderItemWithSelector(const int x, const int y, con
void KeyboardEntryActivity::onCapsHeld() {
waitForCapsRelease();
shiftActive = !shiftActive;
updateRequired = true;
}
void KeyboardEntryActivity::waitForCapsRelease() {