Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix typo in touchStarted()
  • Loading branch information
nickmcintyre authored Apr 3, 2024
commit b637cb290caad4bafb9aa888a06e6ed74a440d4f
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