Make wheel direction when scrolling speed consistent with other horizontal scrolling elements
This commit is contained in:
4
uosc.lua
4
uosc.lua
@@ -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,
|
||||
}))
|
||||
|
Reference in New Issue
Block a user