mirror of https://github.com/espruino/BangleApps
Exit with short press of BTN1
parent
5374b1af30
commit
5dbf7205b0
|
@ -402,6 +402,7 @@ if (process.env.HWVERSION==1) {
|
||||||
swipeEnabled = false;
|
swipeEnabled = false;
|
||||||
drawGlobal();
|
drawGlobal();
|
||||||
} else { // touchscreen?
|
} else { // touchscreen?
|
||||||
|
setWatch(load, BTN1, {edge:"falling"}); // Exit with a short press to physical button
|
||||||
selected = "NONE";
|
selected = "NONE";
|
||||||
swipeEnabled = true;
|
swipeEnabled = true;
|
||||||
prepareScreen(numbers, numbersGrid, COLORS.DEFAULT);
|
prepareScreen(numbers, numbersGrid, COLORS.DEFAULT);
|
||||||
|
@ -440,5 +441,4 @@ if (process.env.HWVERSION==1) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
displayOutput(0);
|
displayOutput(0);
|
||||||
|
|
Loading…
Reference in New Issue