Skip to content

Commit

Permalink
Fix shift press breaking hangul composition
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee0701 committed May 13, 2021
1 parent 6e8c17c commit 0fa701a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class HangulCombiner : Combiner {
val syllable: HangulSyllable? get() = history.lastOrNull()

override fun processEvent(previousEvents: ArrayList<Event>?, event: Event?): Event? {
if(event == null) return event
if(event == null || event.mKeyCode == Constants.CODE_SHIFT) return event
if(Character.isWhitespace(event.mCodePoint)) {
val text = combiningStateFeedback
reset()
Expand Down

0 comments on commit 0fa701a

Please # to comment.