Skip to content

Commit

Permalink
function instead of arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
maoXyzt committed Oct 17, 2024
1 parent 61b502b commit e05909a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extensions/core/contextMenuFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ const ext = {
typeof LiteGraph.ContextMenu
>
// @ts-expect-error TODO Very hacky way to modify Litegraph behaviour. Fix ctx later.
LiteGraph.ContextMenu = (
LiteGraph.ContextMenu = function (
values: CtxMenuConstructorArgs[0],
options: CtxMenuConstructorArgs[1]
) => {
) {
const ctx = new ctxMenu(values, options)

// If we are a dark menu (only used for combo boxes) then add a filter input
Expand Down

0 comments on commit e05909a

Please sign in to comment.