Skip to content

Commit da87f61

Browse files
Merge pull request #333 from ltdrdata/fix/contextmenu_overriding
fix: The return of ctx is missing in the overriding of LiteGraph.ContextMenu
2 parents 013894f + 8a9dd93 commit da87f61

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)