mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-03 12:10:11 +00:00
Fix events not properly removed (#46)
Minor fix: someone forgot to finish their copy/paste, apparently.
This commit is contained in:
@@ -5689,8 +5689,8 @@ LGraphNode.prototype.executeAction = function(action)
|
||||
var ref_window = this.getCanvasWindow();
|
||||
var document = ref_window.document;
|
||||
|
||||
LiteGraph.pointerListenerRemove(this.canvas,"move", this._mousedown_callback);
|
||||
LiteGraph.pointerListenerRemove(this.canvas,"up", this._mousedown_callback);
|
||||
LiteGraph.pointerListenerRemove(this.canvas,"move", this._mousemove_callback);
|
||||
LiteGraph.pointerListenerRemove(this.canvas,"up", this._mouseup_callback);
|
||||
LiteGraph.pointerListenerRemove(this.canvas,"down", this._mousedown_callback);
|
||||
this.canvas.removeEventListener(
|
||||
"mousewheel",
|
||||
|
||||
Reference in New Issue
Block a user