it will better
to show and close one widget
but I found the same problem in documentfont menu
so dancing is continued
pull/599/head
nicolua 10 years ago
parent 8a2c55330b
commit 09d6005bb3

@ -137,13 +137,13 @@ function ReaderToc:onShowToc()
self.ui:handleEvent(Event:new("PageUpdate", item.page))
end
local w = Device:isTouchDevice() and menu_container or toc_menu
toc_menu.close_callback = function()
UIManager:close(menu_container)
UIManager:close(w)
end
UIManager:show(menu_container)
--nicolua
UIManager:show(toc_menu)
UIManager:show(w)
return true
end

Loading…
Cancel
Save