mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 22:57:50 +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) {
|
if (selectedCol >= SHIFT_COL && selectedCol < SPACE_COL) {
|
||||||
// Shift toggle
|
// Shift toggle
|
||||||
shiftActive = !shiftActive;
|
shiftActive = !shiftActive;
|
||||||
|
updateRequired = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -361,6 +362,7 @@ void KeyboardEntryActivity::renderItemWithSelector(const int x, const int y, con
|
|||||||
void KeyboardEntryActivity::onCapsHeld() {
|
void KeyboardEntryActivity::onCapsHeld() {
|
||||||
waitForCapsRelease();
|
waitForCapsRelease();
|
||||||
shiftActive = !shiftActive;
|
shiftActive = !shiftActive;
|
||||||
|
updateRequired = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void KeyboardEntryActivity::waitForCapsRelease() {
|
void KeyboardEntryActivity::waitForCapsRelease() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user