mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
* Hilariously simpler fix for #6616 Reverts #6648 for a much, much simpler solution, that will actually cover every possible situation automagically.
This commit is contained in:
@@ -37,7 +37,7 @@ function AutoTurn:_schedule(settings_id)
|
||||
local delay = self.last_action_sec + self.autoturn_sec - os.time()
|
||||
|
||||
if delay <= 0 then
|
||||
if UIManager:getTopWidget() == "ReaderUI"then
|
||||
if UIManager:getTopWidget() == "ReaderUI" then
|
||||
logger.dbg("AutoTurn: go to next page")
|
||||
self.ui:handleEvent(Event:new("GotoViewRel", self.autoturn_distance))
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user