diff --git a/apps/smpltmr/app.js b/apps/smpltmr/app.js index de02319fd..2904fd6a1 100644 --- a/apps/smpltmr/app.js +++ b/apps/smpltmr/app.js @@ -45,7 +45,7 @@ const imgPause = atob("GBiBAP+B//+B//+B//+B//+B//+B//+B//+B//+B//+B//+B//+B//+B/ const imgPlay = atob("GBiBAIAAAOAAAPgAAP4AAP+AAP/gAP/4AP/+AP//gP//4P//+P///v///v//+P//4P//gP/+AP/4AP/gAP+AAP4AAPgAAOAAAIAAAA=="); function onDrag(event) { - if (timerRunning()) { + if (!timerRunning()) { Bangle.buzz(40, 0.3); var diff = -Math.round(event.dy/5); if (event.x < timePickerLayout.hours.w) { @@ -84,7 +84,9 @@ function onButton() { if (timerRunning()) { timerStop(); } else { - timerRun(); + if (seconds > 0) { + timerRun(); + } } }