mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Cleanup: Remove unused onAnyKeyPressed handlers
And simplify the few we do catch by using aliases instead of duplicated functions;).
This commit is contained in:
@@ -293,11 +293,6 @@ function SpinWidget:onShow()
|
||||
return true
|
||||
end
|
||||
|
||||
function SpinWidget:onAnyKeyPressed()
|
||||
self:onClose()
|
||||
return true
|
||||
end
|
||||
|
||||
function SpinWidget:onTapClose(arg, ges_ev)
|
||||
if ges_ev.pos:notIntersectWith(self.spin_frame.dimen) then
|
||||
self:onClose()
|
||||
|
||||
Reference in New Issue
Block a user