Skip to content

Commit b637cb2

Browse files
authored
Fix typo in touchStarted()
1 parent 5a60cdc commit b637cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/touch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ function getTouchInfo(canvas, w, h, e, i = 0) {
163163
* On touchscreen devices, <a href="#/p5/mousePressed">mousePressed()</a> will
164164
* run when a user’s touch starts if `touchStarted()` isn’t declared. If
165165
* `touchStarted()` is declared, then `touchStarted()` will run when a user’s
166-
* touch ends and <a href="#/p5/mousePressed">mousePressed()</a> won’t.
166+
* touch starts and <a href="#/p5/mousePressed">mousePressed()</a> won’t.
167167
*
168168
* Note: `touchStarted()`, <a href="#/p5/touchEnded">touchEnded()</a>, and
169169
* <a href="#/p5/touchMoved">touchMoved()</a> are all related.

0 commit comments

Comments
 (0)