mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-02-17 04:10:40 +01:00
do not allow toggline permanent caps with a key inbetween 2 shifts
This commit is contained in:
parent
9513e11e0f
commit
71edc078de
@ -88,6 +88,10 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL
|
||||
return
|
||||
}
|
||||
|
||||
if (code != MyKeyboard.KEYCODE_SHIFT) {
|
||||
lastShiftPressTS = 0
|
||||
}
|
||||
|
||||
when (code) {
|
||||
MyKeyboard.KEYCODE_DELETE -> {
|
||||
if (keyboard!!.mShiftState == SHIFT_ON_ONE_CHAR) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user