Skip to content

Commit 2ac6e8b

Browse files
committed
Bangle.js2: Remove buzz when going back in a menu using the button (not the widget)
fix #2670
1 parent a035b24 commit 2ac6e8b

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
STM32: Tidy up WAKEUP timer handling to ensure the Wakeup is always the first item in the queue
1414
E.defrag now defrags with interrupts enabled (also fix potential crash with 2 flat strings end to end)
1515
Swap to using locks for watch&timer arrays (uses 4b more RAM, but faster and no defrag issues)
16+
Bangle.js2: Remove buzz when going back in a menu using the button (not the widget)
1617

1718
2v28 : Add `E.internal` as a way to access the 'hidden root' containing Espruino internal variables that previously needed `global["\xff"]`
1819
Bangle.js: Fix back handler not removed when using E.setUI with a back button but without widgets (#2636)

libs/js/banglejs/Bangle_setUI_Q3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
if (Bangle.btnWatches===undefined)
128128
Bangle.btnWatches = [ setWatch(function() {
129129
Bangle.btnWatches = undefined; // watch doesn't repeat
130-
b().then(() => options.back());
130+
options.back();
131131
}, BTN1, {edge:"rising"}) ];
132132
// if we have widgets loaded *and* visible at the top, add a back widget (see #3788)
133133
if (global.WIDGETS && Bangle.appRect.y) {
-25 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)