Don't hardcode width of clip/composition resize handles

Related to #274
parent dead5e25
Pipeline #4716 passed with stage
in 16 minutes and 29 seconds
......@@ -798,7 +798,7 @@ Rectangle {
anchors.leftMargin: 0
height: parent.height
enabled: !isLocked
width: 5
width: root.baseUnit / 3
color: isAudio? 'green' : 'lawngreen'
opacity: 0
Drag.active: trimInMouseArea.drag.active
......@@ -862,7 +862,7 @@ Rectangle {
anchors.right: clipRoot.right
anchors.rightMargin: 0
height: parent.height
width: 5
width: root.baseUnit / 3
color: 'red'
opacity: 0
enabled: !isLocked
......
......@@ -259,7 +259,7 @@ Item {
anchors.left: displayRect.left
anchors.leftMargin: 0
height: displayRect.height
width: 5
width: root.baseUnit / 3
color: isAudio? 'green' : 'lawngreen'
opacity: 0
Drag.active: trimInMouseArea.drag.active
......@@ -309,7 +309,7 @@ Item {
anchors.right: displayRect.right
anchors.rightMargin: 0
height: displayRect.height
width: 5
width: root.baseUnit / 3
color: 'red'
opacity: 0
Drag.active: trimOutMouseArea.drag.active
......
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