mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-28 17:57:16 +02:00
Merge pull request #2613 from alicevision/fix/edgeSelection
[GraphEditor] Edge: Correctly update the `EdgeMouseArea` when moving nodes
This commit is contained in:
commit
df4ad22b6c
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
Reference in a new issue