Skip to content

Commit fd0120f

Browse files
committed
rename touchPressed to touchIsStarted
1 parent 605ace8 commit fd0120f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/processing/core/PApplet.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public class PApplet extends Object implements PConstants {
196196
public boolean mousePressed;
197197

198198

199-
public boolean touchPressed;
199+
public boolean touchIsStarted;
200200

201201

202202
public TouchEvent.Pointer[] touches = new TouchEvent.Pointer[0];
@@ -2103,10 +2103,10 @@ protected void handleTouchEvent(TouchEvent event) {
21032103

21042104
switch (event.getAction()) {
21052105
case TouchEvent.START:
2106-
touchPressed = true;
2106+
touchIsStarted = true;
21072107
break;
21082108
case TouchEvent.END:
2109-
touchPressed = false;
2109+
touchIsStarted = false;
21102110
break;
21112111
}
21122112

0 commit comments

Comments
 (0)