mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +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: {
|
Component.onCompleted: {
|
||||||
/* The curve scale must be set only once the component has been fully created, so
|
/* 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
|
* that all the events following the update of the curve scale can be taken into
|
||||||
* account */
|
* account. */
|
||||||
curveScale = cubic.ctrlPtDist / root.width // Normalize by width
|
curveScale = Qt.binding(() => cubic.ctrlPtDist / root.width) // Normalize by width
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue