[feat, plugin] Add AutoTurn (#5295)
Fixes <https://github.com/koreader/koreader/issues/3019>.
This commit is contained in:
1 parent
b038fa3046
commit
4cdc3ab99b
6 files changed
+204
No files matched your search
@@ -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