Fix the litegraph context menu missing prototype after adding translation (#3080)

This commit is contained in:
yolain
2025-03-16 22:42:05 +08:00
committed by GitHub
parent 64a0a120b6
commit 07f285b05a

View File

@@ -101,4 +101,5 @@ export const useContextMenuTranslation = () => {
}
LiteGraph.ContextMenu = ContextMenu as unknown as typeof LiteGraph.ContextMenu
LiteGraph.ContextMenu.prototype = OriginalContextMenu.prototype
}