Skip to content

Commit

Permalink
[ui] Edge: Updated curveScale to use standard property binding for Ed…
Browse files Browse the repository at this point in the history
…geMouseArea
  • Loading branch information
waaake committed Jan 27, 2025
1 parent 49ceb6e commit 7e9113b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions meshroom/ui/qml/GraphEditor/Edge.qml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ Item {
root.released(event)
}

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
}
curveScale: cubic.ctrlPtDist / root.width // Normalize by width
}
}

0 comments on commit 7e9113b

Please sign in to comment.