RibbonBlur: Add more blur radius chooses.

This commit is contained in:
Mentalflow 2024-06-27 23:14:17 +08:00
parent 0abdc29319
commit 2071679e40
Signed by: Mentalflow
GPG Key ID: 5AE68D4401A2EE71
2 changed files with 10 additions and 2 deletions

View File

@ -45,10 +45,14 @@ Item {
OpacityMask {
anchors.fill: parent
source: blur
maskSource: Rectangle{
maskSource: RibbonRectangle{
width: control.width
height: control.height
radius: control.radius
topLeftRadius: control.topLeftRadius
bottomLeftRadius: control.bottomLeftRadius
topRightRadius: control.topRightRadius
bottomRightRadius: control.bottomRightRadius
}
}
}

View File

@ -45,10 +45,14 @@ Item {
OpacityMask {
anchors.fill: parent
source: blur
maskSource: Rectangle{
maskSource: RibbonRectangle{
width: control.width
height: control.height
radius: control.radius
topLeftRadius: control.topLeftRadius
bottomLeftRadius: control.bottomLeftRadius
topRightRadius: control.topRightRadius
bottomRightRadius: control.bottomRightRadius
}
}
}