mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 19:21:54 +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 ref_window = this.getCanvasWindow();
|
||||||
var document = ref_window.document;
|
var document = ref_window.document;
|
||||||
|
|
||||||
LiteGraph.pointerListenerRemove(this.canvas,"move", this._mousedown_callback);
|
LiteGraph.pointerListenerRemove(this.canvas,"move", this._mousemove_callback);
|
||||||
LiteGraph.pointerListenerRemove(this.canvas,"up", this._mousedown_callback);
|
LiteGraph.pointerListenerRemove(this.canvas,"up", this._mouseup_callback);
|
||||||
LiteGraph.pointerListenerRemove(this.canvas,"down", this._mousedown_callback);
|
LiteGraph.pointerListenerRemove(this.canvas,"down", this._mousedown_callback);
|
||||||
this.canvas.removeEventListener(
|
this.canvas.removeEventListener(
|
||||||
"mousewheel",
|
"mousewheel",
|
||||||
|
|||||||
Reference in New Issue
Block a user