Skip to content

Commit

Permalink
[fix] VirtualKeyPopup close refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
Frenzie committed Apr 11, 2019
1 parent c35f96c commit 4450ad7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions frontend/ui/widget/virtualkeyboard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4450ad7

Please sign in to comment.