Arrow keys messed up with line padding

Matt Brennan 9 years ago updated 9 years ago 1
When the bottom line padding is negative and the top line padding is positive (with a smaller absolute value) the arrow keys don't work as expected; up moves up two lines, and down doesn't work.

Steps to reproduce:
1. Set line_padding_bottom to -2
2. Set line_padding_top to 1
3. Press the up key
 a. Observe number of lines travelled
4. Press down key
 a. Observe nothing

Setting the padding like this was necessary as for some reason the font I used (TheMixMono, by LukasFonts) was offset from the baseline.
This is on Linux with build 2051 from the WebUpd8 PPA.