mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
fix(picker.list): dont transform with reverse for resolving target. Closes #1142
This commit is contained in:
parent
3a97922a88
commit
0e363177bd
1 changed files with 2 additions and 1 deletions
|
@ -556,7 +556,8 @@ end
|
|||
function M:render()
|
||||
stats.render = stats.render + 1
|
||||
if self.target then
|
||||
self:view(self.target.cursor, self.target.top, false)
|
||||
self:_scroll(self.target.top, true, false)
|
||||
self:_move(self.target.cursor, true, false)
|
||||
if not self.picker:is_active() then
|
||||
self.target = nil
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue