diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-17 15:25:04 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-17 15:25:04 +0200 |
| commit | 9052a7543968e1699470de8b4bc2e00c08d7d2f3 (patch) | |
| tree | 935732b5fbc06d4765176431da946cbbed932503 | |
| parent | 47daa951b184aa09cba23927ea1b1e7315979679 (diff) | |
| download | sddm-theme-udt-9052a7543968e1699470de8b4bc2e00c08d7d2f3.tar.gz sddm-theme-udt-9052a7543968e1699470de8b4bc2e00c08d7d2f3.zip | |
fix: give the frost snapshot a size so the blur renders
ShaderEffectSource had no explicit width/height, so its texture was
0x0 and the frosted layer never drew, at any blurMax. Set it to the
panel size. Also correct blur to its 0..1 range and hide the mask,
which is a mask source, not content.
| -rw-r--r-- | theme/components/Backdrop.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/theme/components/Backdrop.qml b/theme/components/Backdrop.qml index 579e39d..77a39b9 100644 --- a/theme/components/Backdrop.qml +++ b/theme/components/Backdrop.qml @@ -12,13 +12,15 @@ Item { id: backdrop property Item sourceItem: null - property int radius: 10 + property int radius: 20 property color tint: "#24273a" property real tintOpacity: 0.72 property bool blurEnabled: true ShaderEffectSource { id: snapshot + width: backdrop.width + height: backdrop.height sourceItem: backdrop.sourceItem live: true sourceRect: { |
