RibbonBlur: Add more blur radius chooses.
This commit is contained in:
parent
0abdc29319
commit
2071679e40
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue