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