mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
fix(picker): opts.focus = false
now works again
This commit is contained in:
parent
885c1409e8
commit
031f9e96fb
1 changed files with 3 additions and 1 deletions
|
@ -507,7 +507,9 @@ function M:show()
|
|||
end
|
||||
self.shown = true
|
||||
self.layout:show()
|
||||
self:focus()
|
||||
if self.opts.focus ~= false then
|
||||
self:focus()
|
||||
end
|
||||
if self.opts.on_show then
|
||||
self.opts.on_show(self)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue