diff --git a/src/composables/useContextMenuTranslation.ts b/src/composables/useContextMenuTranslation.ts index 5d26365fe..80a47749b 100644 --- a/src/composables/useContextMenuTranslation.ts +++ b/src/composables/useContextMenuTranslation.ts @@ -101,4 +101,5 @@ export const useContextMenuTranslation = () => { } LiteGraph.ContextMenu = ContextMenu as unknown as typeof LiteGraph.ContextMenu + LiteGraph.ContextMenu.prototype = OriginalContextMenu.prototype }