mirror of https://github.com/mpv-player/mpv
osc.lua: hide immediately without animation for select.lua
Requested by llyyr.
This commit is contained in:
parent
bf3382b083
commit
cb8e3ba959
|
@ -2738,7 +2738,7 @@ mp.register_script_message("osc-visibility", visibility_mode)
|
|||
mp.register_script_message("osc-show", show_osc)
|
||||
mp.register_script_message("osc-hide", function ()
|
||||
if user_opts.visibility == "auto" then
|
||||
hide_osc()
|
||||
osc_visible(false)
|
||||
end
|
||||
end)
|
||||
mp.add_key_binding(nil, "visibility", function() visibility_mode("cycle") end)
|
||||
|
|
Loading…
Reference in New Issue