Skip to content

Commit

Permalink
Fix typo in touchStarted()
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmcintyre authored Apr 3, 2024
1 parent 5a60cdc commit b637cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/touch.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function getTouchInfo(canvas, w, h, e, i = 0) {
* On touchscreen devices, <a href="#/p5/mousePressed">mousePressed()</a> will
* run when a user’s touch starts if `touchStarted()` isn’t declared. If
* `touchStarted()` is declared, then `touchStarted()` will run when a user’s
* touch ends and <a href="#/p5/mousePressed">mousePressed()</a> won’t.
* touch starts and <a href="#/p5/mousePressed">mousePressed()</a> won’t.
*
* Note: `touchStarted()`, <a href="#/p5/touchEnded">touchEnded()</a>, and
* <a href="#/p5/touchMoved">touchMoved()</a> are all related.
Expand Down

0 comments on commit b637cb2

Please sign in to comment.