From bf857bc6e4758bbba42741b79485fe88af506fed Mon Sep 17 00:00:00 2001 From: waaake Date: Wed, 15 Jan 2025 16:20:38 +0530 Subject: [PATCH] [ui] GraphEditor: Setting the drag.smoothed property of the MouseArea to false when the selection is started Setting the drag.smoothed to false ensures that the target will be moved straight to the current mouse position --- meshroom/ui/qml/GraphEditor/GraphEditor.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/meshroom/ui/qml/GraphEditor/GraphEditor.qml b/meshroom/ui/qml/GraphEditor/GraphEditor.qml index 0f33730828..abbf97daff 100755 --- a/meshroom/ui/qml/GraphEditor/GraphEditor.qml +++ b/meshroom/ui/qml/GraphEditor/GraphEditor.qml @@ -152,6 +152,7 @@ Item { hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton drag.threshold: 0 + drag.smoothed: false cursorShape: drag.target == draggable ? Qt.ClosedHandCursor : Qt.ArrowCursor onWheel: function(wheel) {