Merge pull request #333 from ltdrdata/fix/contextmenu_overriding

fix: The return of ctx is missing in the overriding of LiteGraph.ContextMenu
This commit is contained in:
pythongosssss
2024-09-01 21:02:50 +01:00
committed by GitHub
+1 -1
View File
@@ -83,7 +83,7 @@ app.registerExtension({
}
triggerCallbacks("ctor", () => [values, options]);
ctxMenu.call(this, values, options);
return ctxMenu.call(this, values, options);
};
LiteGraph.ContextMenu.prototype = ctxMenu.prototype;
},