Commit 8d41f152 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix disabled clip regression (color and opacity changes were not applied anymore)

Fixes #905
parent 8a4b2f90
Pipeline #46570 canceled with stage
......@@ -186,8 +186,8 @@ Rectangle {
}
function getColor() {
if (clipState == ClipState.Disabled) {
return 'grey'
if (clipRoot.clipState == ClipState.Disabled) {
return '#888'
}
if (clipRoot.tagColor) {
return clipRoot.tagColor
......
......@@ -209,8 +209,8 @@ Item{
}
Binding {
target: loader.item
property: "clipStatus"
value: model.clipStatus
property: "clipState"
value: model.clipState
when: loader.status == Loader.Ready && isClip(model.clipType)
}
Binding {
......
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