Martin Boonk
01829f9de4
Fix errors when no launcher is installed
2022-10-21 12:21:13 +02:00
Martin Boonk
cba50deac1
Remove reads and store found launcher in settings file
2022-10-21 12:03:56 +02:00
Martin Boonk
0b2308338a
Use configured launcher if available
2022-10-20 21:45:26 +02:00
Martin Boonk
f70cb81139
Remove Bangle.CLOCK variable on setUI()
2022-10-06 21:56:08 +02:00
Gordon Williams
0e4dcbd3f3
Add support for Bangle.setUI({remove:...}) to allow apps to be unloaded without a full reboot.
2022-09-23 11:52:54 +01:00
Gordon Williams
9327f504c7
Bangle.js: Ensure E.showMessage background color comes from theme
...
ref https://github.com/espruino/BangleApps/pull/2025
2022-07-06 11:14:06 +01:00
Gordon Williams
8458dfde3c
Bangle.js2: Fix text size on buttons when they are tapped in E.showPrompt
2022-07-01 12:03:11 +01:00
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
728fe64c50
Bangle.js: Allow E.showMenu to be given an array and title option ( fix #2175 )
2022-06-08 14:18:23 +01:00
Gordon Williams
4767f2bb20
Bangle.js: Rename default locale to 'system' (from 'en_GB')
2022-06-07 16:31:26 +01:00
Gordon Williams
175311e3b4
Bangle.js: Change default distance units to m,km (from m,miles) ( fix #2209 , fix #2210 )
2022-06-07 16:11:39 +01:00
Gordon Williams
4acac94c03
js for https://github.com/espruino/Espruino/pull/2199
2022-05-24 09:38:37 +01:00
storm64
1fee1b2045
[Bangle.setUI] Change to clock property
...
Feature added to Bangle.setUI reference.
@gfwilliams please update the .min.js-files,
2022-05-24 07:39:06 +02:00
storm64
531c08e64c
[Bangle.setUI] Default btnWatches on clockcustom
...
While thinking about this new mode, I would suggest the default btn behavior should represent the "clock" mode.
The .min.js need to be regenerated...
2022-05-21 12:59:31 +02: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
Gordon Williams
d9f23f46b3
Really fix recent regression with submenus - fix #2192
2022-05-16 15:03:52 +01:00
Richard de Boer
2cece5275d
Bangle.js2: fix E.showMenu redraw
...
2cd16032c37a0004f92be8d817502e198c0ebde5 missed updating a `s` to `l.scroller`
2022-05-08 15:21:53 +02:00
Gordon Williams
2cd16032c3
Bangle.js2: E.showMenu now returns 'scroller', format is called with a second argument, font in popup is scaled to fit ( fix #2190 )
2022-05-06 08:52:47 +01:00
Gordon Williams
1fe4c9c6fd
tweaks to #2188
2022-04-29 11:20:52 +01:00
storm64
16fcc94436
[E_showMenu_Q3] Add "Back" on boxed submenu
...
1. Add "Back"-Button on boxed selection submenu inside E_showMenu
2. Regenerated E_showMenu_Q3.min.js via IDE with "Closure Simple Optimizations"
3. Alter ChangeLog entry
2022-04-29 11:53:32 +02:00
storm64
7070a4cc3e
[E_showMenu_Q3] Add "Back" on list submenu
...
1. Add "Back"-Button on list selection submenu inside E_showMenu
2. Regenerated E_showMenu_Q3.min.js via IDE with "Closure Simple Optimizations"
3. Add ChangeLog entry
4. Readd ChangeLog entry for #2186
2022-04-29 11:40:56 +02:00
Gordon Williams
7c15a764a9
Add #2186 tweak to Bangle.js 1
2022-04-29 09:57:46 +01:00
Gordon Williams
ebd91718a1
Merge pull request #2186 from storm64/master
...
[E_showMenu_Q3.js] Add option to prevent scroller
2022-04-29 09:55:32 +01:00
Gordon Williams
c2b7260a25
Merge pull request #2187 from alessandrococco/locale-patch-1
...
[locale] Fix default dow and month functions
2022-04-29 09:53:18 +01:00
Alessandro Cocco
1612028b6e
[locale] Fix default dow and month functions
2022-04-29 10:18:25 +02:00
Richard de Boer
a14e6166c8
Bangle.js1: try harder to only show E.showMenu submenu for option lists
2022-04-28 20:29:23 +02:00
Richard de Boer
8b32ec1c78
Merge branch 'master' into b1-submenu
2022-04-28 19:47:31 +02:00
storm64
b432cf2a27
[E_showMenu_Q3] Change ".noScroller" to ".noList"
2022-04-28 12:50:11 +02:00
storm64
2c062b9bf8
Update E_showMenu_Q3(.min).js
...
Add ".noScroller" property to prevent the scroller to bedisplayed and instead use the simple box.
2022-04-28 12:44:45 +02:00
Gordon Williams
4bac7889e5
Merge pull request #2185 from rigrig/keep-setUI-back-widget
...
setUI: don't redraw widgets when replacing 'back'
2022-04-28 09:13:42 +01:00
storm64
d0d4936431
Update E_showMenu_Q3.min.js
...
Prevent using E.showScroller() on wraping items, according to E_showMenu_Q3.js.
2022-04-28 00:09:20 +02:00
storm64
7312859c48
Update E_showMenu_Q3.js
...
Prevent using E.showScroller() on wraping items.
This adds the option to control if the scroller or the simple box should be displayed.
In my opinion there is no need for a separate property, because the item.wrap property is not used inside E.showScroller().
2022-04-28 00:02:32 +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
Richard de Boer
e455b7ba1d
Bangle.js1: don't make setUI redraw widgets if we replace the back button with a new one
2022-04-27 22:14:02 +02:00
Richard de Boer
5c187d45c5
Merge branch 'b1-menu-back-button' into b1-submenu
2022-04-27 21:47:23 +02:00
Richard de Boer
0c8b7c1c20
Bangle.js1: add submenu to E.subMenu
...
Only for numeric values with <20 options, otherwise use in-place edit mode
2022-04-27 21:24:38 +02:00
Richard de Boer
195f0549f8
Bangle.js1: show back button for "< Back" item in E.showMenu
...
Simply by pass it on to setUI.
This also works for options.back, because that adds a "< Back" item.
2022-04-27 18:14:47 +02:00
Gordon Williams
de6c3f63e3
Bangle.js1: E.showMenu now displays boolean values with no format as a checkbox
2022-04-26 10:43:57 +01:00
Gordon Williams
14037d7890
Bangle.js2: Fix E.showMenu title changing color after scroll down+up *if* a non-standard theme was used
2022-04-21 16:08:24 +01:00
Gordon Williams
8de5cf1957
Merge branch 'master' of github.com:espruino/Espruino
...
# Conflicts:
# libs/js/banglejs/E_showMenu_Q3.min.js
2022-04-20 15:32:08 +01:00
Gordon Williams
f2e9e4e792
Bangle.js2: Fix issue with E.showMenu creating a global s variable
2022-04-20 15:30:44 +01:00
storm64
7b2c745f77
Update E_showMenu_Q3.min.js
...
Needed to recreate minification due to a replacement of the key name:
```
a=g.wrapString(m[a],b.w-h);1<a.length&&(g.setFont("6x15"),a=g.wrapString(__m[a]__,b.w-h));
```
The last `m[a]` has no matching element anymore.
2022-04-20 00:52:37 +02:00
storm64
ec09eeedd1
Update E_showMenu_Q3.min.js
...
Corrected shortened variable name.
2022-04-20 00:36:15 +02:00
storm64
edb0bb3680
Update E_showMenu_Q3.min.js
...
Recheck string wrapping after font change.
2022-04-20 00:31:32 +02:00
storm64
2854fc15b3
Update E_showMenu_Q3.js
...
Recheck string wrapping after font change.
2022-04-20 00:23:00 +02:00
Gordon Williams
c7f4fa59ef
quick tweak to recent locale change
2022-03-30 15:07:30 +01:00
Gordon Williams
95da6d156c
Bangle.js: default 'locale' now supports second 'dp' argument for decimal places in distance/speed/temp
2022-03-30 14:51:03 +01:00
Gordon Williams
0e210613ae
Bangle.js2 manu system now uses fg2/bg2 (was fg/bg2)
2022-03-29 08:39:41 +01:00
Gordon Williams
cf72f55e96
Update minified for 7b3b17d
2022-03-18 08:56:22 +00:00
Salim Blume
7b3b17df8a
Provide visual feedback on prompt button press
2022-03-17 22:56:07 -05:00