Bangle.js2: Fix setUI clockupdown handling of 'up'

This commit is contained in:
Gordon Williams 2021-10-21 08:33:30 +01:00
parent c3e77b7f23
commit 20ae5fa96c
2 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@
Fix unhandled reject of a previously resolved promise (fix #1433)
Bangle.js: E.showMessage/showPrompt can now display images via optional img argument
E.showMessage/showPrompt handle padding correctly if no widgets are displayed
Bangle.js2: Fix setUI clockupdown handling of 'up'
2v10 : Bangle.js: Improved HRM calculations - swapped autocorrelation for bandpass filter
Bangle.js: Significantly improved step counting algorithm using bandpass filter (fix #1846)

View File

@ -58,7 +58,7 @@
Bangle.CLOCK=1;
Bangle.touchHandler = (d,e) => {
if (e.x < 120) return;
b();cb(e.y > 88);
b();cb((e.y > 88) ? 1 : -1);
};
Bangle.on("touch", Bangle.touchHandler);
Bangle.btnWatches = [