mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 14:47:37 +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) {
|
if (maxLength == 0 || text.length() < maxLength) {
|
||||||
text += c;
|
text += c;
|
||||||
// Auto-disable shift after typing a letter
|
// Auto-disable shift after typing a character
|
||||||
if (shiftActive && ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'))) {
|
if (shiftActive) {
|
||||||
shiftActive = false;
|
shiftActive = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user