aboutsummaryrefslogtreecommitdiffstats
path: root/git_hooks
diff options
context:
space:
mode:
authorTeddy Wing2018-12-16 17:10:59 +0100
committerTeddy Wing2018-12-16 17:10:59 +0100
commit6445135302f984600d7f0c15ad8087f6281a260b (patch)
tree0c2796a8d07ae1b1c45be95d79ecea0060c08c29 /git_hooks
parentbd0c2114b9dd0617919d713c13658a36b87e2749 (diff)
downloadvimium-fix-h-l-left-right-scrolling.tar.bz2
scroller.coffee(performScroll): Fix `h` `l` horizontal scrollingfix-h-l-left-right-scrolling
When scrolling horizontally, `axisName` has value `"scrollLeft"`. Since this line checks against value `"x"` it would always fail, causing `h` and `l` to scroll vertically up and down respectively. Use the `direction` argument in the condition instead, which is set to `"x"` when scrolling horizontally with `h` and `l`. This fixes horizontal scrolling using `h` and `l`.
Diffstat (limited to 'git_hooks')
0 files changed, 0 insertions, 0 deletions