Skip to content

Commit df4ad22

Browse files
authored
Merge pull request #2613 from alicevision/fix/edgeSelection
[GraphEditor] Edge: Correctly update the `EdgeMouseArea` when moving nodes
2 parents feedad4 + 0dca19f commit df4ad22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meshroom/ui/qml/GraphEditor/Edge.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ Item {
148148
Component.onCompleted: {
149149
/* The curve scale must be set only once the component has been fully created, so
150150
* that all the events following the update of the curve scale can be taken into
151-
* account */
152-
curveScale = cubic.ctrlPtDist / root.width // Normalize by width
151+
* account. */
152+
curveScale = Qt.binding(() => cubic.ctrlPtDist / root.width) // Normalize by width
153153
}
154154
}
155155
}

0 commit comments

Comments
 (0)