Commit Graph

331 Commits (020d26ddef7fb3f8166b1498e8e1b04d854af713)

Author SHA1 Message Date
Gordon Williams 1869baeaae readme 2024-05-20 11:36:15 +01:00
Rob Pilling e53c0cdb31 Revert "Move BLE advertising coordination to a module"
This reverts commit 2a4057666b.

Conflicts:
	.eslintignore
	modules/ble_advert.ts
2024-05-18 17:18:40 +01:00
Rob Pilling ce36a7b4e4 ble_advert: fix lint errors 2024-05-18 10:45:46 +01:00
Rob Pilling 2a4057666b Move BLE advertising coordination to a module 2024-05-17 21:52:08 +01:00
Rob Pilling fb9eed74c5
Merge pull request #3394 from halemmerich/widget_utils
widget_utils - Remove the overlay on cleanup
2024-05-14 08:42:45 +01:00
Gordon Williams ea03c34099
Revert "Revert "exstats: fix steps being negative"" 2024-05-13 09:49:52 +01:00
Gordon Williams 208f04988e
Revert "exstats: fix steps being negative" 2024-05-10 09:08:24 +01:00
Rob Pilling b387365797 exstats: fix steps being negative/handle step count increment between stats 2024-05-09 12:10:33 +01:00
Gordon Williams 89ea6d0045 Try and fix issues that causes `exstats` not to be usable without `notify:{...}` defined. 2024-05-09 12:09:56 +01: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
Rob Pilling 611fd7aaf1 Slider: update docs 2024-04-22 08:18:49 +01:00
Rob Pilling b0aaf8f69f Slider: always emit final event 2024-04-21 19:35:40 +01:00
Rob Pilling 0dc61519a7 Slider: pass event through 2024-04-21 19:35:16 +01:00
Rob Pilling 621f58feb6 Slider: reset dragActive 2024-04-21 19:35:16 +01:00
Rob Pilling a28b2008c3 Slider.js: don't hold onto cbObj 2024-04-21 19:35:16 +01:00
Anton 4a7738cebc Allow suncalc to be exported via `globalThis` 2024-03-16 11:30:01 +01:00
Anton a00f1b6568 Merge branch 'master' into modules-lint 2024-03-15 10:00:59 +01:00
Anton 9f26a5abfe Revert Sliders.js fix
This is instead fixed in #3261
2024-03-15 06:39:44 +01:00
thyttan bfdcf9543b Slider:fix lint warn var declared in global scope
exFirst -> o.v.exFirst
eyFirst -> o.v.eyFirst
2024-03-14 21:37:50 +01:00
Anton c91e632033 Fix lint errors 2024-03-14 11:18:18 +01:00
Anton c077a24512 Improve eslint config for modules 2024-03-14 11:17:53 +01: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
thyttan 71a445c96e Slider: formatting Slider.md 2023-10-18 23:20:46 +02:00
thyttan 8bd1cbb2a8 Slider: add to documentation re timeout 2023-10-18 23:14:03 +02:00
thyttan 05e2ff899c Slider: add to documentation Slider.md 2023-10-18 21:55:59 +02:00
thyttan 03a1f10d45 Slider: auto indentation 2023-10-18 01:18:57 +02:00
thyttan bdf7aab65c Slider: remove development try-catch statement 2023-10-18 01:16:15 +02:00
thyttan 04c5cbd516 Slider: update documentation 2023-10-18 01:06:21 +02:00
thyttan 4d7bcce070 Slider: remove unnecessary spaces 2023-10-18 00:35:42 +02:00
thyttan 5156b8a3e5 Slider:add param for auto progress update interval 2023-10-18 00:17:59 +02:00
thyttan 4d6edb1292 Slider: add missing semicolons 2023-10-17 23:21:56 +02:00
thyttan 6c1fb8cc18 Slider: shrink borders if too big
... which would cause glitches.
2023-10-17 22:49:32 +02:00
thyttan 0c12bfab8a Slider: move and refactor step size calculation 2023-10-17 22:49:32 +02:00
thyttan 7e01449705 Slider: remove unnecessary condition check 2023-10-17 22:49:32 +02:00
thyttan eb52a9aca4 Slider: update documentation at Slider.md 2023-10-17 22:49:32 +02:00
thyttan c4ba51a498 Slider: fix logic re roundedness 2023-10-17 22:49:32 +02:00
thyttan cd67e0d143 Slider: add comment tags 2023-10-17 22:49:32 +02:00
thyttan ac27deba0f Slider: scale default borders with appRect width 2023-10-17 22:49:32 +02:00
thyttan 0fbcb34896 Slider: remove two lines of debug 2023-10-17 22:49:32 +02:00
thyttan 0a1e3a6590 Slider: add initial comments 2023-10-17 22:49:32 +02:00
thyttan 186832faa4 Slider:make rounded mode dynamic, depend on width
Fixes graphics for different size sliders.
2023-10-17 22:49:32 +02:00
thyttan b2a72dccc7 Slider: move let statement out of function scope 2023-10-17 22:49:32 +02:00
thyttan 9d532a82d9 Slider: fix callback running prematurely 2023-10-17 22:49:32 +02:00
thyttan 962d87442e Slider: add `FIXME:` comment re error in callback 2023-10-17 22:49:32 +02:00
thyttan ee5e08d8fe Slider: add level to auto callback 2023-10-17 22:49:32 +02:00
thyttan bbb2907a54 Slider:update `currLevel`->`initLevel`, and tweaks 2023-10-17 22:49:32 +02:00
thyttan ac568fb332 Slider: change `currLevel` -> `initLevel` 2023-10-17 22:49:32 +02:00
thyttan 8cf9cd77bb Slider: add tip to Slider.md, and tweaks 2023-10-17 22:49:32 +02:00