Skip to content

Commit 1984883

Browse files
committed
edit comment
1 parent b6041da commit 1984883

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/events/mouse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ p5.prototype._onmousedown = function(e) {
635635
if (executeDefault === false) {
636636
e.preventDefault();
637637
}
638-
// only safari needs this manual duplication for consistency
638+
// only safari needs this manual fallback for consistency
639639
} else if (
640640
navigator.userAgent.toLowerCase().includes('safari') &&
641641
typeof context.touchStarted === 'function'

src/events/touch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ p5.prototype._ontouchstart = function(e) {
139139
if (executeDefault === false) {
140140
e.preventDefault();
141141
}
142-
// only safari needs this manual duplication for consistency
142+
// only safari needs this manual fallback for consistency
143143
} else if (
144144
navigator.userAgent.toLowerCase().includes('safari') &&
145145
typeof context.touchStarted === 'function'

0 commit comments

Comments
 (0)