[fix, UX] Ignore first hold release when keyboard opened with hold (#5011)

Fixes #4902.
This commit is contained in:
Frans de Jonge
2019-05-08 10:13:44 +02:00
committed by GitHub
parent 1b24582a08
commit 2968f558eb
5 changed files with 25 additions and 9 deletions

View File

@@ -396,7 +396,8 @@ function InputText:focus()
self._frame_textwidget.color = Blitbuffer.COLOR_BLACK
end
function InputText:onShowKeyboard()
function InputText:onShowKeyboard(ignore_first_hold_release)
self.keyboard.ignore_first_hold_release = ignore_first_hold_release
UIManager:show(self.keyboard)
return true
end