fix(notifier): hide existing nofif if higher prio notif arrives and no free space for lower notif

This commit is contained in:
Folke Lemaitre 2024-11-20 18:07:52 +01:00
parent a365d3e854
commit 7a061de75f
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -632,6 +632,9 @@ function N:layout()
notif.shown = notif.shown or ts()
notif.win:show()
end
elseif notif.win then
notif.shown = nil
notif.win:hide()
end
end
end