ui/key: rename TextInputClosed to TextInputClose

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-07 15:39:04 +02:00
parent 5b7a7334c8
commit 31418eefbe
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ func (w *Window) SetTextInput(s key.TextInputState) {
if !w.IsAlive() {
return
}
if s != w.inputState && (s == key.TextInputClosed || s == key.TextInputOpen) {
if s != w.inputState && (s == key.TextInputClose || s == key.TextInputOpen) {
w.driver.setTextInput(s)
}
if s == key.TextInputFocus {