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:
@@ -110,6 +110,10 @@ function SpinWidget:update()
|
||||
{
|
||||
text = self.cancel_text,
|
||||
callback = function()
|
||||
if self.cancel_callback then
|
||||
self.value = value_widget:getValue()
|
||||
self:cancel_callback(self)
|
||||
end
|
||||
self:onClose()
|
||||
end,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user