diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-11 23:40:33 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-11 23:40:33 +1000 |
| commit | fa5546cf350e3263157e5888552afed4ce316d10 (patch) | |
| tree | af4f9890c6803d0e1b990efb2341da3faf162853 | |
| parent | lock/notifs: add empty placeholder (diff) | |
| download | caelestia-shell-fa5546cf350e3263157e5888552afed4ce316d10.tar.gz caelestia-shell-fa5546cf350e3263157e5888552afed4ce316d10.tar.bz2 caelestia-shell-fa5546cf350e3263157e5888552afed4ce316d10.zip | |
lock/notifs: don't show notifs until anim finish
Cause layout calculations are slow
| -rw-r--r-- | modules/lock/Content.qml | 1 | ||||
| -rw-r--r-- | modules/lock/NotifDock.qml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/lock/Content.qml b/modules/lock/Content.qml index 751b20a..3d7d6c4 100644 --- a/modules/lock/Content.qml +++ b/modules/lock/Content.qml @@ -91,6 +91,7 @@ RowLayout { bottomRightRadius: Appearance.rounding.large radius: Appearance.rounding.small color: Colours.tPalette.m3surfaceContainer + NotifDock { lock: root.lock } diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml index 8594d8a..5fde1a8 100644 --- a/modules/lock/NotifDock.qml +++ b/modules/lock/NotifDock.qml @@ -84,7 +84,7 @@ ColumnLayout { clip: true model: ScriptModel { - values: [...new Set(Notifs.list.map(notif => notif.appName))].reverse() + values: root.lock.animating ? [] : [...new Set(Notifs.list.map(notif => notif.appName))].reverse() } delegate: NotifGroup {} |