mirror of https://github.com/koreader/koreader
Button: don't handle long-press when not enabled
It was only not handled when hold_callback. Do that also when hold_input/hold_input_func. Also fix the handling of HoldRelease (as the Hold may change the state of 'enabled', so we can't rely on it to guess the Hold is being handled by Button). Menu: prevent long-press on "No choice available", as there's then no page to navigate to.reviewable/pr7310/r1 v2021.02
parent
e44c170f59
commit
6132e8c904
Loading…
Reference in New Issue