touchtimer: ADD ability to repeat the timer
- By adding the REPEAT value at the end of buzzCount loop it allows for finshed to be shown for the full buzzCount before it changes the text to REPEATmaster
parent
a37c14d26c
commit
5e92ec24df
|
|
@ -1,2 +1,3 @@
|
|||
0.01: Initial creation of the touch timer app
|
||||
0.02: Add settings menu
|
||||
0.03: Add ability to repeat last timer
|
||||
|
|
|
|||
|
|
@ -141,6 +141,13 @@ var main = () => {
|
|||
if (buzzCount >= settings.buzzCount) {
|
||||
clearInterval(buzzIntervalId);
|
||||
buzzIntervalId = undefined;
|
||||
|
||||
buttonStartPause.value = "REPEAT";
|
||||
buttonStartPause.draw();
|
||||
buttonStartPause.value = "START";
|
||||
timerCountDown = undefined;
|
||||
timerEdit.draw();
|
||||
|
||||
return;
|
||||
} else {
|
||||
Bangle.buzz(settings.buzzDuration * 1000, 1);
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"id": "touchtimer",
|
||||
"name": "Touch Timer",
|
||||
"shortName": "Touch Timer",
|
||||
"version": "0.02",
|
||||
"version": "0.03",
|
||||
"description": "Quickly and easily create a timer with touch-only input. The time can be easily set with a number pad.",
|
||||
"icon": "app.png",
|
||||
"tags": "tools",
|
||||
|
|
|
|||
Loading…
Reference in New Issue