From 8dffb8adede8361d60c02078d15bf1001f73d55d Mon Sep 17 00:00:00 2001 From: Christoph Heinrich Date: Tue, 16 Aug 2022 03:13:17 +0200 Subject: [PATCH] Correct speed scrolling direction 5f31a248eed0fecca694fea879032d1179af0aee overwrote the direction change from 35f058d760202bb30f932e98d6b6981c9c944a33. This corrects that. --- uosc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uosc.lua b/uosc.lua index 7cf417e..3d68fd3 100644 --- a/uosc.lua +++ b/uosc.lua @@ -2739,10 +2739,10 @@ if options.speed then request_render() end, on_wheel_up = function(this) - mp.set_property_native('speed', speed_step(state.speed, false)) + mp.set_property_native('speed', speed_step(state.speed, true)) end, on_wheel_down = function(this) - mp.set_property_native('speed', speed_step(state.speed, true)) + mp.set_property_native('speed', speed_step(state.speed, false)) end, render = render_speed, }))