mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-21 02:25:21 -04:00
toast: fix blur
This commit is contained in:
@@ -441,4 +441,14 @@ PanelWindow {
|
||||
mask: Region {
|
||||
item: toast
|
||||
}
|
||||
|
||||
WindowBlur {
|
||||
targetWindow: root
|
||||
blurEnabled: root.shouldBeVisible
|
||||
blurX: toast.x
|
||||
blurY: toast.y
|
||||
blurWidth: root.shouldBeVisible ? toast.width : 0
|
||||
blurHeight: root.shouldBeVisible ? toast.height : 0
|
||||
blurRadius: toast.radius
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user