Entering a number should clear codeword
This commit is contained in:
parent
e324057de2
commit
43df87f5ef
@ -115,8 +115,15 @@ class WordInputMode: BaseInputMode() {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun commitNumber(key: Key, composing: Boolean): KeyEventResult {
|
||||||
|
codeWord.clear()
|
||||||
|
|
||||||
|
return super.commitNumber(key, composing)
|
||||||
|
}
|
||||||
|
|
||||||
private fun reset() {
|
private fun reset() {
|
||||||
codeWord.clear()
|
codeWord.clear()
|
||||||
|
|
||||||
newKey = true
|
newKey = true
|
||||||
keyIndex = 0
|
keyIndex = 0
|
||||||
lastKey = null
|
lastKey = null
|
||||||
|
Loading…
x
Reference in New Issue
Block a user