KeyHandler // +Enter key for associated candidate selection.
This commit is contained in:
parent
5c55aa1adc
commit
85becea690
|
@ -78,11 +78,6 @@ extension KeyHandler {
|
||||||
// MARK: Enter
|
// MARK: Enter
|
||||||
|
|
||||||
if input.isEnter {
|
if input.isEnter {
|
||||||
if state is InputState.AssociatedPhrases {
|
|
||||||
clear()
|
|
||||||
stateCallback(InputState.EmptyIgnoringPreviousState())
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
delegate!.keyHandler(
|
delegate!.keyHandler(
|
||||||
self,
|
self,
|
||||||
didSelectCandidateAt: ctlCandidateCurrent.selectedCandidateIndex,
|
didSelectCandidateAt: ctlCandidateCurrent.selectedCandidateIndex,
|
||||||
|
|
Loading…
Reference in New Issue