We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e423a46 commit 425e980Copy full SHA for 425e980
1 file changed
Stitch/Graph/Node/Util/NodeCreatedAction.swift
@@ -30,7 +30,8 @@ extension StitchDocumentViewModel {
30
31
// Find the input
32
guard let selectedInput = state.selectedInput,
33
- var selectedInputLocation = graph.getNode(selectedInput.nodeId)?.nonLayerCanvasItem?.locationOfInputs,
+ var selectedInputLocation = graph.getCanvasItem(inputId: selectedInput)?
34
+ .locationOfInputs,
35
let selectedInputObserver = state.visibleGraph.getInputRowObserver(selectedInput),
36
let selectedInputType: UserVisibleType = selectedInputObserver.values.first?.toNodeType else {
37
fatalErrorIfDebug()
0 commit comments