mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 06:37:38 +03:00
fix: disable shift after any typed character
This commit is contained in:
parent
3ce11f14ce
commit
93ea23168b
@ -130,8 +130,8 @@ void KeyboardEntryActivity::handleKeyPress() {
|
||||
|
||||
if (maxLength == 0 || text.length() < maxLength) {
|
||||
text += c;
|
||||
// Auto-disable shift after typing a letter
|
||||
if (shiftActive && ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'))) {
|
||||
// Auto-disable shift after typing a character
|
||||
if (shiftActive) {
|
||||
shiftActive = false;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user