From 8a9dd93e825f881d5af8c787ab5cae8448b654a0 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Mon, 2 Sep 2024 00:40:37 +0900 Subject: [PATCH] The return of ctx is missing in the overriding of LiteGraph.ContextMenu --- web/js/contextMenuHook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/contextMenuHook.js b/web/js/contextMenuHook.js index c493e70..0fd35b4 100644 --- a/web/js/contextMenuHook.js +++ b/web/js/contextMenuHook.js @@ -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; },