update
parent
308e2407c3
commit
87a1e4744c
|
@ -7,13 +7,14 @@ Item {
|
|||
|
||||
property alias color: rect.color
|
||||
property alias acrylicOpacity: rect.opacity
|
||||
property int radius: 50
|
||||
property var sourceItem: control.parent
|
||||
|
||||
Rectangle {
|
||||
id: rect
|
||||
anchors.fill: parent
|
||||
color: "white"
|
||||
opacity: 0.05
|
||||
opacity: 0.1
|
||||
}
|
||||
|
||||
ShaderEffectSource {
|
||||
|
@ -24,7 +25,7 @@ Item {
|
|||
}
|
||||
|
||||
FastBlur {
|
||||
radius: 20
|
||||
radius: control.radius
|
||||
anchors.fill: effect_source
|
||||
source: effect_source
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue