mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-23 17:40:54 +00:00
Fix non hangul characters being inserted at wrong position
This commit is contained in:
parent
1a7cec304b
commit
e3ad499161
1 changed files with 2 additions and 0 deletions
|
@ -43,7 +43,9 @@ class HangulCombiner : Combiner {
|
|||
val currentSyllable = syllable ?: HangulSyllable()
|
||||
val jamo = HangulJamo.of(event.mCodePoint)
|
||||
if(!event.isCombining || jamo is HangulJamo.NonHangul) {
|
||||
composingWord.append(currentSyllable.string)
|
||||
composingWord.append(jamo.string)
|
||||
history.clear()
|
||||
} else {
|
||||
when(jamo) {
|
||||
is HangulJamo.Consonant -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue