RibbonRectangle: Fix transparent bug.

This commit is contained in:
Mentalflow 2024-08-06 02:29:38 +08:00
parent 1ce411be5e
commit 94e6417845
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
2 changed files with 2 additions and 0 deletions

View File

@ -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"
} }
} }
} }

View File

@ -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"
} }
} }
} }