Skip to content

Commit

Permalink
[GraphEditor] Edge: Correctly update the EdgeMouseArea when moving …
Browse files Browse the repository at this point in the history
…nodes
  • Loading branch information
cbentejac committed Dec 3, 2024
1 parent 409c7ec commit 0dca19f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meshroom/ui/qml/GraphEditor/Edge.qml
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ Item {
Component.onCompleted: {
/* The curve scale must be set only once the component has been fully created, so
* that all the events following the update of the curve scale can be taken into
* account */
curveScale = cubic.ctrlPtDist / root.width // Normalize by width
* account. */
curveScale = Qt.binding(() => cubic.ctrlPtDist / root.width) // Normalize by width
}
}
}

0 comments on commit 0dca19f

Please sign in to comment.