[vlmc-devel] Clip.qml: Fix the wrong x position of Drag.hotSpot

Yikai Lu git at videolan.org
Sat Jul 16 17:24:24 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sun Jul 17 00:10:21 2016 +0900| [19b23b0f715fae19c5cf7ea633d3dec4c88905f2] | committer: Yikai Lu

Clip.qml: Fix the wrong x position of Drag.hotSpot

> https://code.videolan.org/videolan/vlmc/commit/19b23b0f715fae19c5cf7ea633d3dec4c88905f2
---

 src/Gui/timeline/Clip.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/timeline/Clip.qml b/src/Gui/timeline/Clip.qml
index ce65923..aac8a7e 100644
--- a/src/Gui/timeline/Clip.qml
+++ b/src/Gui/timeline/Clip.qml
@@ -102,7 +102,7 @@ Rectangle {
 
     Drag.keys: ["Clip"]
     Drag.active: dragArea.drag.active
-    Drag.hotSpot: Qt.point( width / 2, height / 2 )
+    Drag.hotSpot: Qt.point( 0, height / 2 )
 
     MouseArea {
         id: dragArea



More information about the Vlmc-devel mailing list