Correct speed scrolling direction

5f31a248ee overwrote the direction change
from 35f058d760. This corrects that.
This commit is contained in:
Christoph Heinrich
2022-08-16 03:13:17 +02:00
committed by Tomas Klaen
parent 4148991490
commit 8dffb8aded

View File

@@ -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,
}))