Skip to content
Snippets Groups Projects

Simple Menu

Merged Pixtxa requested to merge (removed):Pixtxa-master-patch-27969 into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -90,9 +90,9 @@ def button_events(timeout=None, long_press_ms=LONG_PRESS_MS, retrigger_ms=RETRIG
yield buttons.TOP_RIGHT
if (
not still_pressed
and long_press_ms
and time.time_ms() - t0 <= long_press_ms:
not still_pressed
and long_press_ms
and ((time.time_ms() - t0) <= long_press_ms)
):
pass
else:
Loading