Skip to content

Commit

Permalink
Revert "Fix frozen confirmbox when keyboard shown (#5452)"
Browse files Browse the repository at this point in the history
This reverts commit 513fd80.
  • Loading branch information
Frenzie committed Nov 6, 2019
1 parent f1f75c5 commit 819801a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/ui/uimanager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -694,12 +694,10 @@ function UIManager:sendEvent(event)
if active_widget:handleEvent(event) then return end
end
end
if widget.widget.is_always_active or widget.widget.modal then
if widget.widget.is_always_active then
-- active widgets will handle this event
-- Note: is_always_active widgets currently are widgets that want to show a keyboard
-- and readerconfig
-- By default modal widgets are always on top but if there is more than one modal
-- widget, only last one will be top_widget. e.g. keyboard and confirmbox.
checked_widgets[widget] = true
if widget.widget:handleEvent(event) then return end
end
Expand Down

0 comments on commit 819801a

Please sign in to comment.