RibbonRectangle: Fix transparent bug.
This commit is contained in:
parent
1ce411be5e
commit
94e6417845
|
@ -66,6 +66,7 @@ Item {
|
||||||
implicitHeight: container.height
|
implicitHeight: container.height
|
||||||
implicitWidth: container.width
|
implicitWidth: container.width
|
||||||
maskSource: shape
|
maskSource: shape
|
||||||
|
invert: control.color === "transparent" || control.color === "#00000000"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,7 @@ Item {
|
||||||
implicitHeight: container.height
|
implicitHeight: container.height
|
||||||
implicitWidth: container.width
|
implicitWidth: container.width
|
||||||
maskSource: shape
|
maskSource: shape
|
||||||
|
invert: control.color === "transparent" || control.color === "#00000000"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue