Commit Graph

17 Commits (9c173f313a19eb20e1e1b1a6c932bfdbb0784b85)

Author SHA1 Message Date
Gordon Williams 9984914a91 Fix widget_utils breakage which caused the widget bar used with swipeOn to literally never be hidden. Was
introduced as part of https://github.com/espruino/BangleApps/issues/3417#issuecomment-2120204969
2024-08-05 10:46:43 +01:00
Martin Boonk 1c3babc3c4 widget_utils - Fix offset reference 2024-05-20 17:14:58 +02:00
Martin Boonk 2a6b428344 widget_utils - Remove exports.overlayRemoved 2024-05-20 15:04:25 +02:00
Martin Boonk 76fd49dad7 widget_utils - Adapt to new setLCDOverlay 2024-05-20 12:49:04 +02:00
Martin Boonk 24488edd9d widget_utils - Correctly remove origSetLCDOverlay and cleanUpOverlay properties 2024-05-02 07:45:43 +02:00
Martin Boonk aba7659729 widget_utils - Remove the overlay on cleanup 2024-05-01 10:41:18 +02:00
Gordon Williams d8ada3f734 Refactor to remove the (apparently spurious) `Error: Unreachable point. logically broken.` warning during minification 2024-01-30 16:36:44 +00:00
Flaparoo cde7efad99 widget_utils: use correct variable to clear interval 2024-01-09 12:04:20 +08:00
Gordon Williams 6bdb7dc0ad Fix widgets that clear too low, and make widget swipeOn have a 2px border at the bottom 2023-06-09 11:04:06 +01:00
Gordon Williams 6084c2b9ad Fix issue with widget utils - just a single hidden widget would cancel checking others 2023-05-10 12:05:30 +01:00
sir-indy 915b562026
Add drawWidgets to end of swipeOn
Trying to fix https://github.com/espruino/BangleApps/issues/2474.
2023-01-17 08:54:47 +00:00
Gordon Williams 285b03dbb9 Ensure that widgets_utils swipeOn falls back on Bangle.js 1 - fix #2414 2022-12-19 09:18:45 +00:00
Martin Boonk 141eb9b90b widget_utils - Allow setting a time for auto hideout 2022-12-04 20:26:18 +01:00
Gordon Williams 6868ca321e widget utils swipeOn now updates appRect to match where the widgets are - see https://github.com/espruino/BangleApps/pull/2306 2022-11-23 10:46:52 +00:00
Martin Boonk b2965fe4e2 widget_utils - Prevent initial draw clearing on global g 2022-11-21 00:33:49 +01:00
Gordon Williams a03a036ba5 Add widget_utils swipeOn method to hide widgets and allow them to be swiped back onto the screen 2022-11-19 19:22:21 +00:00
Gordon Williams 1727fac713 Add widget visibility library 2022-10-26 11:51:30 +01:00