mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-09 16:17:44 +00:00
fix debug mode crash sometimes occurring when deleting korean
fixes GH-1551
This commit is contained in:
parent
549675d8d7
commit
e6ec1c7bca
2 changed files with 12 additions and 0 deletions
|
@ -452,6 +452,8 @@ public final class InputLogic {
|
|||
// to the current word instead of considering the cursor position
|
||||
// position is actually not visible to the combiner, how to fix?
|
||||
processedEvent = mWordComposer.processEvent(hangulDecodedEvent);
|
||||
if (event.getMKeyCode() == KeyCode.DELETE)
|
||||
mWordComposer.resetInvalidCursorPosition();
|
||||
} else {
|
||||
mWordComposer.setHangul(false);
|
||||
final boolean wasComposingWord = mWordComposer.isComposingWord();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue