KeyHandler // Send necessary Tone One to composer when isSpace.
This commit is contained in:
parent
03e3a39489
commit
52c2617e87
|
@ -166,6 +166,9 @@ extension KeyHandler {
|
|||
// However, Swift does not support "|=".
|
||||
composeReading = composeReading || (!_composer.isEmpty && (input.isSpace || input.isEnter))
|
||||
if composeReading {
|
||||
if input.isSpace && !_composer.hasToneMarker() {
|
||||
_composer.receiveKey(fromString: " ") // 補上空格。
|
||||
}
|
||||
let reading = _composer.getComposition()
|
||||
|
||||
// See whether we have a unigram for this...
|
||||
|
|
Loading…
Reference in New Issue