mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 06:37:38 +03:00
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:
parent
3937e949bf
commit
1a34af2c87
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user