diff --git a/Main.qml b/Main.qml index acf0856..eda7962 100644 --- a/Main.qml +++ b/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 } } } diff --git a/theme.conf b/theme.conf index 8aca923..ad8fa53 100644 --- a/theme.conf +++ b/theme.conf @@ -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.