coolwanglu / neovim-e

Electron UI for Neovim
MIT License
271 stars 29 forks source link

Fix scrolling coordinates #53

Closed evindor closed 8 years ago

evindor commented 9 years ago

These coordinates represent the scroll event location. Before this fix if you had NERDTree open (on the left) and was trying to scroll the document, only the NERDTree split scrolled. After the fix the split you have your mouse over is scrolled.

coolwanglu commented 8 years ago

Indeed, so the parameters is the location instead of the delta. However, probably we need to send multiple scrollwheel events if the delta is large.

coolwanglu commented 8 years ago

Thanks for the PR!