mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-28 14:05:21 -04:00
toast: fix blur
This commit is contained in:
@@ -441,4 +441,14 @@ PanelWindow {
|
|||||||
mask: Region {
|
mask: Region {
|
||||||
item: toast
|
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