mirror of https://github.com/espruino/BangleApps
scicalc: Exit with short button press
parent
6bb2a86767
commit
3b59bead01
|
@ -114,5 +114,6 @@ function swipeHandler(e,d) {
|
||||||
|
|
||||||
Bangle.on("touch", touchHandler);
|
Bangle.on("touch", touchHandler);
|
||||||
Bangle.on("swipe", swipeHandler);
|
Bangle.on("swipe", swipeHandler);
|
||||||
|
setWatch(() => load(), BTN, { repeat: false, edge: "falling" });
|
||||||
g.clear();
|
g.clear();
|
||||||
drawPage(curPage);
|
drawPage(curPage);
|
||||||
|
|
Loading…
Reference in New Issue