1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-14 16:22:46 -04:00

blur: demo BackgroundEffect.blurRegion on some components

This commit is contained in:
bbedward
2026-02-16 09:47:30 -05:00
parent a9ee91586e
commit 22f384b821
7 changed files with 56 additions and 9 deletions
+6 -1
View File
@@ -345,6 +345,11 @@ Item {
bottom: !useBackgroundWindow
}
BackgroundEffect.blurRegion: Region {
item: shouldBeVisible ? contentContainer : null
radius: Theme.cornerRadius
}
WlrLayershell.margins {
left: useBackgroundWindow ? (root.alignedX - shadowBuffer) : 0
top: useBackgroundWindow ? (root.alignedY - shadowBuffer) : 0
@@ -470,7 +475,7 @@ Item {
anchors.fill: parent
radius: Theme.cornerRadius
color: Theme.withAlpha(Theme.surfaceContainer, Theme.popupTransparency)
border.color: Theme.outlineMedium
border.color: Theme.outline
border.width: 1
}