fix: remove outdated GaussianBlur effect
This commit is contained in:
parent
1e7d08551b
commit
2d21c0fb19
2 changed files with 7 additions and 8 deletions
13
Main.qml
13
Main.qml
|
|
@ -259,17 +259,16 @@ Pane {
|
|||
visible: config.FullBlur == "true" || config.PartialBlur == "true" ? true : false
|
||||
}
|
||||
|
||||
GaussianBlur {
|
||||
MultiEffect {
|
||||
id: blur
|
||||
|
||||
height: parent.height
|
||||
width: config.FullBlur == "true" ? parent.width : form.width
|
||||
source: config.FullBlur == "true" ? backgroundImage : blurMask
|
||||
radius: config.BlurRadius
|
||||
samples: config.BlurRadius * 2 + 1
|
||||
cached: true
|
||||
anchors.centerIn: config.FullBlur == "true" ? parent : form
|
||||
width: config.FullBlur == "true" ? parent.width : form.width
|
||||
height: parent.height
|
||||
source: config.FullBlur == "true" ? backgroundImage : blurMask
|
||||
visible: config.FullBlur == "true" || config.PartialBlur == "true" ? true : false
|
||||
blurEnabled: visible
|
||||
blurMax: config.BlurRadius
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ PartialBlur="false"
|
|||
## Enable or disable the blur effect; if HaveFormBackground is set to true then PartialBlur will trigger the BackgroundColor of the form element to be partially transparent and blend with the blur.
|
||||
|
||||
BlurRadius="0"
|
||||
## Set the strength of the blur effect. Anything above 100 is pretty strong and might slow down the rendering time. 0 is like setting false for any blur.
|
||||
## Set the strength of the blur effect. Anything above 50 is pretty strong and might slow down the rendering time. 0 is like setting false for any blur.
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue