diff options
author | Christian Dürr <contact@christianduerr.com> | 2017-12-18 17:49:57 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-12-22 14:00:17 -0800 |
commit | 14884deba7ff61495a87cd3be91dc620a1eba5fa (patch) | |
tree | 2a414326758a1698e52bd9b46c8433439e3aa4af /src/lib.rs | |
parent | e0993587e7c994214aef83a6d50e70959ee05d96 (diff) | |
download | r-alacritty-14884deba7ff61495a87cd3be91dc620a1eba5fa.tar.gz r-alacritty-14884deba7ff61495a87cd3be91dc620a1eba5fa.tar.bz2 r-alacritty-14884deba7ff61495a87cd3be91dc620a1eba5fa.zip |
Fix faux scrolling for line-based touchpads
Touchpads which use line-based instead of pixel-based updates send
partial scroll requests, so decimal numbers are important. The current
implementation only really used scroll amounts that are either 1 or -1.
This has been fixed and now the line-based touchpads should have very
smooth scrolling, but the pixel-based approach is still WIP and
completely untested.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions