mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
UIManager: Minor code cleanup (#9641)
* Remove a check made redundant by #9617 * Bump base (https://github.com/koreader/koreader-base/pull/1538)
This commit is contained in:
2
base
2
base
Submodule base updated: 37506f4d55...fc31b4d98b
@@ -760,11 +760,6 @@ which itself will take care of propagating an event to its members.
|
||||
@param event an @{ui.event.Event|Event} object
|
||||
]]
|
||||
function UIManager:sendEvent(event)
|
||||
if not self._window_stack[1] then
|
||||
-- No widgets in the stack!
|
||||
return
|
||||
end
|
||||
|
||||
local top_widget
|
||||
local checked_widgets = {}
|
||||
-- Toast widgets, which, by contract, must be at the top of the window stack, never stop event propagation.
|
||||
|
||||
Reference in New Issue
Block a user