8 Commits

Author SHA1 Message Date
Gordon Williams
4edb72a8f7 Bangle.js2: Fix exception when using 'back' and physical button with Bangle.setUI (fix https://github.com/espruino/BangleApps/issues/1904) 2022-06-09 09:50:24 +01:00
Gordon Williams
4acac94c03 js for https://github.com/espruino/Espruino/pull/2199 2022-05-24 09:38:37 +01:00
storm64
b5c79079f0 [Bangle.setUI] Add "clockcustom" mode
Think this might be useful for more complex clocks.
For now it would be necessary to set `Bangle.CLOCK = 1` manually after a custom setUI to show other apps that a clock is used.
2022-05-21 12:44:38 +02:00
Richard de Boer
68b19612d2
Bangle.js2: don't make setUI redraw widgets if we replace the back button with a new one 2022-04-27 22:16:45 +02:00
Gordon Williams
13390a3318 Bangle.js2: setUI (now doesn't forward touch events if tapping over the back button (fix #2170) 2022-03-14 14:05:30 +00:00
Gordon Williams
95ea8838ff Bangle.js1: Add 'back' option to E.showScroller and Bangle.setUI
Bangle.js1: setUI button handlers now work on falling edge
            Bangle.js: Add setUI custom 'swipe' handler
2022-03-02 15:41:41 +00:00
Gordon Williams
6206534fae Bangle.js2: Add 'back' option to E.showScroller and Bangle.setUI 2022-02-22 14:23:12 +00:00
Gordon Williams
ff25ff80df Bangle.setUI is now minified, also calls Bangle.uiRemove if it was set (to clean up custom UI additions)
E.showScroller tweaks to allow redraw requests, get/set initial scroll amount, negative scroll (for titles)
2022-02-09 14:12:47 +00:00