From fa5546cf350e3263157e5888552afed4ce316d10 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 11 Aug 2025 23:40:33 +1000 Subject: lock/notifs: don't show notifs until anim finish Cause layout calculations are slow --- modules/lock/Content.qml | 1 + modules/lock/NotifDock.qml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/lock') 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 {} -- cgit v1.2.3-freya