Skip to content

Commit 0dca19f

Browse files
committed
[GraphEditor] Edge: Correctly update the EdgeMouseArea when moving nodes
1 parent 409c7ec commit 0dca19f

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)