[feat, plugin] Add AutoTurn (#5295)

Fixes <https://github.com/koreader/koreader/issues/3019>.
This commit is contained in:
Frans de Jonge
2019-09-01 21:30:19 +02:00
committed by GitHub
parent b038fa3046
commit 4cdc3ab99b
6 changed files with 204 additions and 0 deletions

View File

@@ -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,
},