mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
[GraphEditor] Edge: Correctly update the EdgeMouseArea
when moving nodes
This commit is contained in:
parent
409c7ec813
commit
0dca19f158
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue