Make wheel direction when scrolling speed consistent with other horizontal scrolling elements

This commit is contained in:
Tomas Sardyha
2020-04-21 08:52:40 +02:00
parent 647e95c89f
commit ee80508c7d

View File

@@ -2355,10 +2355,10 @@ if options.speed then
request_render()
end,
on_wheel_up = function(this)
mp.set_property_native('speed', state.speed + options.speed_step)
mp.set_property_native('speed', state.speed - options.speed_step)
end,
on_wheel_down = function(this)
mp.set_property_native('speed', state.speed - options.speed_step)
mp.set_property_native('speed', state.speed + options.speed_step)
end,
render = render_speed,
}))