Skip to content
Snippets Groups Projects
Commit 9e2b0c4e authored by luyikei's avatar luyikei
Browse files

Clip.qml: Move hotSpot to where pressed

parent d0ad13a2
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment