mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-26 13:07:49 -04:00
fix(wallpaper): apply overview blur to built-in backdrops (#3941)
port 2.0
(cherry picked from commit 5b54dafa61)
This commit is contained in:
1 parent
290d04c511
commit
260d4fda73
1 file changed
+2
-3
@@ -764,7 +764,6 @@ Variants {
|
||||
|
||||
sourceComponent: DBackdrop {
|
||||
screenName: modelData.name
|
||||
blur: root.overviewBlurActive ? Theme.wallpaperBlur : 0
|
||||
onInvalidated: root.invalidate()
|
||||
}
|
||||
}
|
||||
@@ -1212,11 +1211,11 @@ Variants {
|
||||
Loader {
|
||||
id: overviewBlurLoader
|
||||
anchors.fill: parent
|
||||
active: root.overviewBlurActive && !root.showsBackdrop
|
||||
active: root.overviewBlurActive
|
||||
|
||||
sourceComponent: MultiEffect {
|
||||
anchors.fill: parent
|
||||
source: effectLoader.active ? effectLoader.item : (parallaxLoader.active ? parallaxLoader.item : srcCurrent)
|
||||
source: root.showsBackdrop ? backdropLoader.item : (effectLoader.active ? effectLoader.item : (parallaxLoader.active ? parallaxLoader.item : srcCurrent))
|
||||
blurEnabled: true
|
||||
blur: 0.8
|
||||
blurMax: 75
|
||||
|
||||
Reference in new issue
Block a user