You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/apps/reader/modules
NiLuJe 1e24a1c7a3 ReaderUI: Properly neuter gesture handling from InputContainer modules
None[1] of them actually rely on their own onGesture handler, they
all register their own stuff to ReaderUI's.
Hotfix #9710 revealed that the way this was handled didn't exactly
work as expected ;).

The only thing that consumes ges_events is InputContainer's onGesture
method. All these modules *extend* InputContainer, but none of them
*implement* a custom onGesture, so self.onGesture = nil was just a NOP,
they always access InputContainer's method via inheritance.
If we actively want to neuter it, we *have* to implement it in that
module (with a NOP).

[1] The exception being ReaderZooming, but that only when in flip mode.
2 years ago
..
readeractivityindicator.lua
readerback.lua InputContainer: Fall cleanup ;). 2 years ago
readerbookmark.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readerconfig.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readercoptlistener.lua
readercropping.lua
readerdevicestatus.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
readerdictionary.lua DictQuickLookup: The window_list array needs to be a static class member 2 years ago
readerdogear.lua Dispatcher: avoid multiple cre rerenderings when many settings changed (#9651) 2 years ago
readerflipping.lua
readerfont.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readerfooter.lua Dispatcher: avoid multiple cre rerenderings when many settings changed (#9651) 2 years ago
readergoto.lua
readerhighlight.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readerhinting.lua
readerkoptlistener.lua readerkoptlistener: simplify zoom mode validation 2 years ago
readerlink.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readermenu.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readerpagemap.lua
readerpaging.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readerpanning.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readerrolling.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readerrotation.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readerscrolling.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
readersearch.lua
readerstatus.lua ReaderStatus: save status summary (#9619) 2 years ago
readerstyletweak.lua InputContainer: Fall cleanup ;). 2 years ago
readerthumbnail.lua Dispatcher: avoid multiple cre rerenderings when many settings changed (#9651) 2 years ago
readertoc.lua ReaderUI: Properly neuter gesture handling from InputContainer modules 2 years ago
readertypeset.lua
readertypography.lua
readeruserhyph.lua
readerview.lua Optimization: Use constant folding for divisions not a power of two (#9609) 2 years ago
readerwikipedia.lua DictQuickLookup: The window_list array needs to be a static class member 2 years ago
readerzooming.lua InputContainer: Fall cleanup ;). 2 years ago