The return of ctx is missing in the overriding of LiteGraph.ContextMenu

This commit is contained in:
Dr.Lt.Data
2024-09-02 00:40:37 +09:00
parent 013894fa82
commit 8a9dd93e82
+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;
},