feat: use curve for notif clear all anim
Speeds up clearing large numbers of notifications
This commit is contained in:
parent
2fbdfad472
commit
b83ac6e50a
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ Item {
|
|||
id: clearTimer
|
||||
|
||||
repeat: true
|
||||
interval: 50
|
||||
interval: Math.max(15, Math.min(80, 69.8 - 12.3 * Math.log(Notifs.notClosed.length)))
|
||||
onTriggered: {
|
||||
const first = Notifs.notClosed[0];
|
||||
if (first) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue