Skip to content

Commit

Permalink
Merge pull request #2613 from alicevision/fix/edgeSelection
Browse files Browse the repository at this point in the history
[GraphEditor] Edge: Correctly update the `EdgeMouseArea` when moving nodes
  • Loading branch information
yann-lty authored Dec 3, 2024
2 parents feedad4 + 0dca19f commit df4ad22
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 df4ad22

Please sign in to comment.