lock/notifs: don't show notifs until anim finish
Cause layout calculations are slow
This commit is contained in:
parent
2c793ed8f0
commit
fa5546cf35
2 changed files with 2 additions and 1 deletions
|
|
@ -91,6 +91,7 @@ RowLayout {
|
|||
bottomRightRadius: Appearance.rounding.large
|
||||
radius: Appearance.rounding.small
|
||||
color: Colours.tPalette.m3surfaceContainer
|
||||
|
||||
NotifDock {
|
||||
lock: root.lock
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue