romgrk / barbar.nvim

The neovim tabline plugin.
2.26k stars 85 forks source link

fix: mouse drag offset bug when nvim-tree enabled #553

Closed morningdip closed 7 months ago

morningdip commented 7 months ago

When the nvim-tree plugin is open, the initial offset during mouse dragging should not be a fixed value of 0. This is rough method of modification, please refer to it, thank you very much!

morningdip commented 7 months ago

Also fix the issue where dragging the mouse cursor beyond the last tab causes a crash.

Iron-E commented 7 months ago

LGTM. Thanks for catching that!