Commit Graph

5 Commits (acb96b5d1ed6c5297a03ecf4f7a1452ccd50041c)

Author SHA1 Message Date
thyttan 3eb7d19ebd backswipe: change to prepend swipe listener
(WIP)

Seems to mitigate some conflicts when switching between `edgeclk` (with
seconds active) and `dtlaunch`. Sometimes the seconds redraw timeout of
`edgeclk` would draw over `dtlaunch`.
2024-11-05 19:52:35 +01:00
thyttan c90bb4910f backswipe:fix could not blcklist messagegui.new.js 2024-04-29 19:03:43 +02:00
Rob Pilling 70b89fbe2f backswipe: ignore `undefined` handlers
`undefined` handlers are created when we [remove listeners] part-way
through the array. This fixes `backswipe` for all firmwares, but
leaves the door open for a potential firmware change.

[remove listeners]: 0f16231a43/src/jswrap_object.c (L1035-L1035)
2023-10-10 10:51:50 +01:00
thyttan de20a40100 check for existing swipe handlers 2023-02-04 22:36:16 +01:00
Kedlub 5e87fc2bcf Swipe to back prototype 2023-01-20 08:32:08 +01:00