diff options
Diffstat (limited to 'modules/lock/NotifDock.qml')
| -rw-r--r-- | modules/lock/NotifDock.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml index 1cfcd28..a986052 100644 --- a/modules/lock/NotifDock.qml +++ b/modules/lock/NotifDock.qml @@ -42,7 +42,7 @@ ColumnLayout { anchors.centerIn: parent asynchronous: true active: opacity > 0 - opacity: root.lock.animating || Notifs.list.length > 0 ? 0 : 1 + opacity: Notifs.list.length > 0 ? 0 : 1 sourceComponent: ColumnLayout { spacing: Appearance.spacing.large @@ -51,7 +51,7 @@ ColumnLayout { asynchronous: true source: `file://${Quickshell.shellDir}/assets/dino.png` fillMode: Image.PreserveAspectFit - sourceSize.width: root.lock.animating ? 0 : clipRect.width * 0.8 + sourceSize.width: clipRect.width * 0.8 layer.enabled: true layer.effect: Colouriser { @@ -84,7 +84,7 @@ ColumnLayout { clip: true model: ScriptModel { - values: root.lock.animating ? [] : [...new Set(Notifs.list.map(notif => notif.appName))].reverse() + values: [...new Set(Notifs.list.map(notif => notif.appName))].reverse() } delegate: NotifGroup {} |