diff options
author | Jan Ekström <jeebjp@gmail.com> | 2020-03-18 20:14:50 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-03-19 20:27:55 +0000 |
commit | 33519d61aa67fca41cdae79935f6e2d2ab3c32be (patch) | |
tree | 9230c4760d4920d1a35feec3f839024e7d129120 /sub | |
parent | 3aad89829f832091d483589fd578f6ab5b8ba685 (diff) | |
download | mpv-33519d61aa67fca41cdae79935f6e2d2ab3c32be.tar.bz2 mpv-33519d61aa67fca41cdae79935f6e2d2ab3c32be.tar.xz |
wayland: simplify mouse wheel direction calculation
Based on an idea by sfan5. Remove abs usage, and instead just
check for negative value, and set variable to either +/-1.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions