coolwanglu / neovim-e

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

Mouse scrolling background glitch #21

Closed averrin closed 9 years ago

averrin commented 9 years ago

neovim_as_mousescroll

it fixes by keyboard scrolling.

coolwanglu commented 9 years ago

How do you reproduce this effect? And what's the colorscheme you are using?

averrin commented 9 years ago

On Ubuntu 14.04, with default scheme (on screenshot) and with molokai (but background is gray instead black). Just launch and scroll with mouse wheel.

coolwanglu commented 9 years ago

I cannot reproduce this on Mac, and unfortunately I don't have a Ubuntu to test. Hope that some one will be able to diagnose this issue.

syswow commented 9 years ago

I can reproduce this on Ubuntu 14.04 x64. It may be a random bug.

Reproduce steps(only 1):

Pics: render-1

render-2

rygwdn commented 9 years ago

I can reproduce this on OS X, I see it when moving around in the file without the mouse too (just holding <j>)

rygwdn commented 9 years ago

Looks like (for me at least), the color that's getting filled is the background color of the bottom-right block (in my case my airline status line). When the scroll event comes in, it looks like it's setting the background of the new area to match that instead of the actual background color. I'll have a PR up shortly that should fix it

syswow commented 9 years ago

Thank you, It works really well now. :cat: