mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
toggleswitch: fix long-press (#12215)
This commit is contained in:
@@ -237,7 +237,7 @@ end
|
||||
|
||||
function ToggleSwitch:onHoldSelect(arg, gev)
|
||||
local position = self:calculatePosition(gev)
|
||||
if self.toggle[position] == "⋮" then
|
||||
if self.toggle[position] == "⋮" or self.config.onMakeDefault == nil then
|
||||
return true
|
||||
end
|
||||
if self.name == "font_fine_tune" then
|
||||
|
||||
Reference in New Issue
Block a user