mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
screen_rotation_menu_table: fix menu refreshing on check
This commit is contained in:
@@ -14,6 +14,7 @@ local function genMenuItem(text, mode)
|
||||
return Screen:getRotationMode() == mode
|
||||
end,
|
||||
radio = true,
|
||||
on_check_closed_in_callback = true,
|
||||
callback = function(touchmenu_instance)
|
||||
UIManager:broadcastEvent(Event:new("SetRotationMode", mode))
|
||||
touchmenu_instance:closeMenu()
|
||||
|
||||
Reference in New Issue
Block a user