summaryrefslogtreecommitdiffstats
path: root/video/image_writer.h
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2020-03-18 20:14:50 +0200
committerDudemanguy <random342@airmail.cc>2020-03-19 20:27:55 +0000
commit33519d61aa67fca41cdae79935f6e2d2ab3c32be (patch)
tree9230c4760d4920d1a35feec3f839024e7d129120 /video/image_writer.h
parent3aad89829f832091d483589fd578f6ab5b8ba685 (diff)
downloadmpv-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 'video/image_writer.h')
0 files changed, 0 insertions, 0 deletions