1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-11 00:02:28 -04:00

blur: fix dankbar auto-hide blur, fix synchronization in popouts and

modals
This commit is contained in:
bbedward
2026-03-30 10:40:52 -04:00
parent a0b2debd7e
commit 6e6416c8ba
4 changed files with 22 additions and 7 deletions

View File

@@ -404,8 +404,8 @@ Item {
readonly property real s: Math.min(1, contentContainer.scaleValue)
blurX: contentContainer.x + contentContainer.width * (1 - s) * 0.5 + Theme.snap(contentContainer.animX, root.dpr)
blurY: contentContainer.y + contentContainer.height * (1 - s) * 0.5 + Theme.snap(contentContainer.animY, root.dpr)
blurWidth: shouldBeVisible ? contentContainer.width * s : 0
blurHeight: shouldBeVisible ? contentContainer.height * s : 0
blurWidth: (shouldBeVisible && contentWrapper.opacity > 0) ? contentContainer.width * s : 0
blurHeight: (shouldBeVisible && contentWrapper.opacity > 0) ? contentContainer.height * s : 0
blurRadius: Theme.cornerRadius
}