Skip to content

Commit

Permalink
Update litegraph API - 237 (#1376)
Browse files Browse the repository at this point in the history
  • Loading branch information
webfiltered authored Oct 30, 2024
1 parent 74f7311 commit 3fb2d42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/core/contextMenuFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ext = {
// We must request an animation frame for the current node of the active canvas to update.
requestAnimationFrame(() => {
const currentNode = LGraphCanvas.active_canvas.current_node
const clickedComboValue = currentNode.widgets
const clickedComboValue = currentNode?.widgets
?.filter(
(w) =>
w.type === 'combo' && w.options.values?.length === values.length
Expand Down

0 comments on commit 3fb2d42

Please sign in to comment.