Skip to content
Permalink
Browse files

Merge pull request #696 from youknowone/hide-hanja-on-exit

한자 입력기 나갈 때 한자 후보 숨기기
  • Loading branch information
youknowone committed Feb 11, 2020
2 parents 4f9a56e + 736ae2a commit 290f75896d3fe837ae4870e6442b8409576e3fef
Showing with 4 additions and 0 deletions.
  1. +4 −0 OSXCore/SearchComposer.swift
@@ -50,6 +50,7 @@ final class SearchComposer: Composer {
return .roman
}
assert(false)
return nil
}

public private(set) var candidates: [NSAttributedString]?
@@ -240,6 +241,9 @@ extension SearchComposer {
_searchLock.lock()
candidates = nil
_searchLock.unlock()

InputMethodServer.shared.candidates.hide()

// 3. 조합 중인 문자를 모두 가져옴
delegate.cancelComposition()
_bufferedString.append(delegate.dequeueCommitString())

0 comments on commit 290f758

Please sign in to comment.
You can’t perform that action at this time.