lock/notifs: don't show notifs until anim finish

Cause layout calculations are slow
This commit is contained in:
2 * r + 2 * t 2025-08-11 23:40:33 +10:00
parent 2c793ed8f0
commit fa5546cf35
2 changed files with 2 additions and 1 deletions

View file

@ -91,6 +91,7 @@ RowLayout {
bottomRightRadius: Appearance.rounding.large bottomRightRadius: Appearance.rounding.large
radius: Appearance.rounding.small radius: Appearance.rounding.small
color: Colours.tPalette.m3surfaceContainer color: Colours.tPalette.m3surfaceContainer
NotifDock { NotifDock {
lock: root.lock lock: root.lock
} }

View file

@ -84,7 +84,7 @@ ColumnLayout {
clip: true clip: true
model: ScriptModel { 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 {} delegate: NotifGroup {}