Commit d71768ea authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Don't allow composition resize on very small zoom levels (messes with move)

parent 0e125086
Pipeline #2471 passed with stage
in 14 minutes and 30 seconds
......@@ -260,7 +260,7 @@ Item {
Drag.active: trimInMouseArea.drag.active
Drag.proposedAction: Qt.MoveAction
enabled: !compositionRoot.grouped
visible: root.activeTool === 0 && !dragProxyArea.drag.active
visible: trimInMouseArea.pressed || (root.activeTool === 0 && !dragProxyArea.drag.active && compositionRoot.width > 4 * width)
MouseArea {
id: trimInMouseArea
......@@ -310,7 +310,7 @@ Item {
Drag.active: trimOutMouseArea.drag.active
Drag.proposedAction: Qt.MoveAction
enabled: !compositionRoot.grouped
visible: root.activeTool === 0 && !dragProxyArea.drag.active
visible: trimOutMouseArea.pressed || (root.activeTool === 0 && !dragProxyArea.drag.active && compositionRoot.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