Commit 9e2b0c4e authored by luyikei's avatar luyikei

Clip.qml: Move hotSpot to where pressed

parent d0ad13a2
......@@ -145,7 +145,6 @@ Rectangle {
Drag.keys: ["Clip"]
Drag.active: dragArea.drag.active
Drag.hotSpot: Qt.point( 0, height / 2 )
MouseArea {
id: dragArea
......@@ -193,6 +192,8 @@ Rectangle {
}
onPressed: {
clip.Drag.hotSpot = Qt.point( mouseX, clip.height / 2 );
if ( selected === true )
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment