Update app.js

Whoops
pull/1788/head
sir-indy 2022-05-03 12:33:12 +01:00 committed by GitHub
parent fd5e0bf45c
commit aad0a48a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -55,9 +55,9 @@ function onTouch(button, xy) {
return;
}
if (!timerRunning()) {
if (&& xy.y > 24 && xy.y < touchMidpoint - 10) {
if (xy.y > 24 && xy.y < touchMidpoint - 10) {
diff = 1;
} else if (&& xy.y > touchMidpoint + 10 && xy.y < timePickerLayout.btnStart.y) {
} else if (xy.y > touchMidpoint + 10 && xy.y < timePickerLayout.btnStart.y) {
diff = -1;
}
if (xy.x < timePickerLayout.hours.w) {