Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Fix middle mouse drag.
  • Loading branch information
comfyanonymous committed Dec 21, 2023
commit fb126fff4f901e1816da9e73a02be3add900752f
6 changes: 4 additions & 2 deletions src/litegraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -6257,11 +6257,13 @@ LGraphNode.prototype.executeAction = function(action)
,posAdd:[!mClikSlot_isOut?-30:30, -alphaPosY*130] //-alphaPosY*30]
,posSizeFix:[!mClikSlot_isOut?-1:0, 0] //-alphaPosY*2*/
});
skip_action = true;
}
}
}
} else if (!skip_action && this.allow_dragcanvas) {
}

if (!skip_action && this.allow_dragcanvas) {
//console.log("pointerevents: dragging_canvas start from middle button");
this.dragging_canvas = true;
}
Expand Down