1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-09 15:22:13 -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

@@ -314,8 +314,8 @@ Item {
readonly property real s: Math.min(1, modalContainer.scale)
blurX: root.modalX + root.modalWidth * (1 - s) * 0.5
blurY: root.modalY + root.modalHeight * (1 - s) * 0.5
blurWidth: contentVisible ? root.modalWidth * s : 0
blurHeight: contentVisible ? root.modalHeight * s : 0
blurWidth: (contentVisible && modalContainer.opacity > 0) ? root.modalWidth * s : 0
blurHeight: (contentVisible && modalContainer.opacity > 0) ? root.modalHeight * s : 0
blurRadius: root.cornerRadius
}