Cleanup: Remove unused onAnyKeyPressed handlers

And simplify the few we do catch by using aliases instead of duplicated
functions;).
This commit is contained in:
NiLuJe
2022-10-23 22:36:09 +02:00
parent 78381c3afa
commit d2ac2ca6e7
13 changed files with 14 additions and 75 deletions

View File

@@ -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()