fix: remove outdated GaussianBlur effect

This commit is contained in:
Kiana Sheibani 2026-02-11 23:55:57 -05:00
parent 1e7d08551b
commit 2d21c0fb19
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
2 changed files with 7 additions and 8 deletions

View file

@ -259,17 +259,16 @@ Pane {
visible: config.FullBlur == "true" || config.PartialBlur == "true" ? true : false visible: config.FullBlur == "true" || config.PartialBlur == "true" ? true : false
} }
GaussianBlur { MultiEffect {
id: blur 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 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 visible: config.FullBlur == "true" || config.PartialBlur == "true" ? true : false
blurEnabled: visible
blurMax: config.BlurRadius
} }
} }
} }

View file

@ -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. ## 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" 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.