Skip to content

Commit

Permalink
refactor(menu): no need to update scrollbar on CursorMoved
Browse files Browse the repository at this point in the history
  • Loading branch information
bekaboo committed Sep 26, 2023
1 parent fad24e3 commit 2debe82
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lua/dropbar/menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,6 @@ function dropbar_menu_t:make_buf()

-- Update hover highlights
self:update_hover_hl(self.prev_cursor)

-- Update the scrollbar
self:update_scrollbar()
end,
})
vim.api.nvim_create_autocmd('WinScrolled', {
Expand Down

0 comments on commit 2debe82

Please sign in to comment.