We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ceb6e commit 870dcf4Copy full SHA for 870dcf4
meshroom/ui/qml/GraphEditor/Edge.qml
@@ -138,18 +138,13 @@ Item {
138
anchors.fill: parent
139
acceptedButtons: Qt.LeftButton | Qt.RightButton
140
thickness: root.thickness + 4
141
+ curveScale: cubic.ctrlPtDist / root.width // Normalize by width
142
onPressed: function(event) {
143
root.pressed(event)
144
}
145
onReleased: function(event) {
146
root.released(event)
147
148
- Component.onCompleted: {
149
- /* The curve scale must be set only once the component has been fully created, so
150
- * that all the events following the update of the curve scale can be taken into
151
- * account. */
152
- curveScale = cubic.ctrlPtDist / root.width // Normalize by width
153
- }
154
155
0 commit comments