main
朱子楚\zhuzi 2023-05-14 16:54:13 +08:00
parent 308e2407c3
commit 87a1e4744c
1 changed files with 3 additions and 2 deletions

View File

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