KeyHandler // Integrate showHanyuPinyinInCompositionBuffer.

This commit is contained in:
ShikiSuen 2022-05-14 17:01:57 +08:00
parent 878c53ab44
commit 61b2563062
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ extension KeyHandler {
}
let head = rawHead
let reading = _composer.getDisplayedComposition()
let reading = _composer.getComposition(isHanyuPinyin: mgrPrefs.showHanyuPinyinInCompositionBuffer)
let tail = rawEnd
let composedText = head + reading + tail
let cursorIndex = composedStringCursorIndex + reading.count