Fix resizing clips broken by recent commit. Fixes #137

parent 10c919b6
......@@ -749,7 +749,7 @@ Rectangle {
opacity: 0
Drag.active: trimInMouseArea.drag.active
Drag.proposedAction: Qt.MoveAction
visible: root.activeTool === 0 && !mouseArea.drag.active && clipRoot.width > 5 * width
visible: trimInMouseArea.pressed || (root.activeTool === 0 && !mouseArea.drag.active && clipRoot.width > 4 * width)
MouseArea {
id: trimInMouseArea
......@@ -811,7 +811,7 @@ Rectangle {
enabled: !isLocked
Drag.active: trimOutMouseArea.drag.active
Drag.proposedAction: Qt.MoveAction
visible: root.activeTool === 0 && !mouseArea.drag.active && clipRoot.width > 5 * width
visible: trimOutMouseArea.pressed || (root.activeTool === 0 && !mouseArea.drag.active && clipRoot.width > 4 * width)
MouseArea {
id: trimOutMouseArea
......
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