Skip to content

Commit 8a9dd93

Browse files
committed
The return of ctx is missing in the overriding of LiteGraph.ContextMenu
1 parent 013894f commit 8a9dd93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/js/contextMenuHook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ app.registerExtension({
8383
}
8484

8585
triggerCallbacks("ctor", () => [values, options]);
86-
ctxMenu.call(this, values, options);
86+
return ctxMenu.call(this, values, options);
8787
};
8888
LiteGraph.ContextMenu.prototype = ctxMenu.prototype;
8989
},

0 commit comments

Comments
 (0)