Skip to content

Commit e80f8ba

Browse files
authored
Merge pull request #1952 from mlarghydracept/mouseDragged-fix
mouseDragged fix
2 parents 7b9167e + a1cd388 commit e80f8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/mouse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ p5.prototype._onmousemove = function(e){
496496
var context = this._isGlobal ? window : this;
497497
var executeDefault;
498498
this._updateNextMouseCoords(e);
499-
if (!this.isMousePressed) {
499+
if (!this.mouseIsPressed) {
500500
if (typeof context.mouseMoved === 'function') {
501501
executeDefault = context.mouseMoved(e);
502502
if(executeDefault === false) {

0 commit comments

Comments
 (0)