Commit 5c3fad4a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Make master effect zones use the same height as timeline zone for a cleaner look

parent 3bcc359f
...@@ -250,11 +250,11 @@ Item { ...@@ -250,11 +250,11 @@ Item {
model: effectZones model: effectZones
Rectangle { Rectangle {
x: effectZones[index].x * timeline.scaleFactor x: effectZones[index].x * timeline.scaleFactor
height: Math.ceil(zoneHeight/4) height: zoneHeight - 1
width: (effectZones[index].y - effectZones[index].x) * timeline.scaleFactor width: (effectZones[index].y - effectZones[index].x) * timeline.scaleFactor
color: "blueviolet" color: "blueviolet"
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.bottomMargin: zoneHeight - height - 1 opacity: 0.4
} }
} }
......
Supports Markdown
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