mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-26 21:15:18 -04:00
fix(WindowBlur): ensure blurRegion is cleared if BackgroundEffect exists
This commit is contained in:
@@ -110,7 +110,7 @@ Item {
|
|||||||
Component.onCompleted: _scheduleLifecycleKick()
|
Component.onCompleted: _scheduleLifecycleKick()
|
||||||
Component.onDestruction: {
|
Component.onDestruction: {
|
||||||
lifecycleKickAction.cancel();
|
lifecycleKickAction.cancel();
|
||||||
if (targetWindow)
|
if (targetWindow && targetWindow.BackgroundEffect)
|
||||||
targetWindow.BackgroundEffect.blurRegion = null;
|
targetWindow.BackgroundEffect.blurRegion = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user