mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-05 11:18:26 +00:00
fix(notifier): hide existing nofif if higher prio notif arrives and no free space for lower notif
This commit is contained in:
parent
a365d3e854
commit
7a061de75f
1 changed files with 3 additions and 0 deletions
|
@ -632,6 +632,9 @@ function N:layout()
|
||||||
notif.shown = notif.shown or ts()
|
notif.shown = notif.shown or ts()
|
||||||
notif.win:show()
|
notif.win:show()
|
||||||
end
|
end
|
||||||
|
elseif notif.win then
|
||||||
|
notif.shown = nil
|
||||||
|
notif.win:hide()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue