mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix, UX] Ignore first hold release when keyboard opened with hold (#5011)
Fixes #4902.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user