Don't allow resize on very small zoom levels (prevents moving clips)

parent 595b75af
......@@ -749,7 +749,7 @@ Rectangle {
opacity: 0
Drag.active: trimInMouseArea.drag.active
Drag.proposedAction: Qt.MoveAction
visible: root.activeTool === 0 && !mouseArea.drag.active
visible: root.activeTool === 0 && !mouseArea.drag.active && clipRoot.width > 5 * 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
visible: root.activeTool === 0 && !mouseArea.drag.active && clipRoot.width > 5 * 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