Skip to content

Commit 9bd9f16

Browse files
author
lauren mccarthy
committed
renaming mouseScrolled to mouseWHeel
1 parent 7aa4d27 commit 9bd9f16

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

lib/p5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ var p5Element = function (require, core) {
527527
p5.Element.prototype.mousePressed = function (fxn) {
528528
attachListener('mousedown', fxn, this);
529529
};
530-
p5.Element.prototype.mouseScrolled = function (fxn) {
530+
p5.Element.prototype.mouseWheel = function (fxn) {
531531
attachListener('mousewheel', fxn, this);
532532
};
533533
p5.Element.prototype.mouseReleased = function (fxn) {

0 commit comments

Comments
 (0)