mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[feat, plugin] Add AutoTurn (#5295)
Fixes <https://github.com/koreader/koreader/issues/3019>.
This commit is contained in:
@@ -621,6 +621,11 @@ function UIManager:getRefreshRate(rate)
|
||||
return self.FULL_REFRESH_COUNT
|
||||
end
|
||||
|
||||
--- Get top widget.
|
||||
function UIManager:getTopWidget()
|
||||
return ((self._window_stack[#self._window_stack] or {}).widget or {}).name
|
||||
end
|
||||
|
||||
--- Signals to quit.
|
||||
function UIManager:quit()
|
||||
if not self._running then return end
|
||||
|
||||
Reference in New Issue
Block a user