We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fcf938 commit 5c4969aCopy full SHA for 5c4969a
1 file changed
sketch.js
@@ -535,9 +535,14 @@ function mouseClicked()
535
{
536
generateNewSandwich();
537
}
538
-
539
540
+function touchStarted() {
541
+ if(touch.x < w/2 + 75 && touch.x > w/2 - 75 && touch.y < h-100 + 35 && touch.y > h-100 - 35 )
542
+ {
543
+ generateNewSandwich();
544
+ }
545
+}
546
function startTraining()
547
548
if(level == 3)
0 commit comments