mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix] VirtualKeyPopup close refresh (#4897)
See https://github.com/koreader/koreader/pull/4891#issuecomment-481866246
This commit is contained in:
@@ -264,6 +264,12 @@ function VirtualKeyPopup:onClose()
|
||||
return true
|
||||
end
|
||||
|
||||
function VirtualKeyPopup:onCloseWidget()
|
||||
UIManager:setDirty(nil, function()
|
||||
return "partial", self[1][1].dimen
|
||||
end)
|
||||
end
|
||||
|
||||
function VirtualKeyPopup:onPressKey()
|
||||
self:getFocusItem():handleEvent(Event:new("TapSelect"))
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user