scicalc: Exit with short button press

pull/3054/head
Erik Andresen 2023-10-26 20:44:30 +02:00
parent 6bb2a86767
commit 3b59bead01
1 changed files with 1 additions and 0 deletions

View File

@ -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);