[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
This commit is contained in:
waaake 2025-01-15 16:20:38 +05:30
parent 3e8b736cf9
commit bf857bc6e4

View file

@ -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) {