mirror of https://github.com/mpv-player/mpv
osc: full reinit on runtime option changes
Fuck it, just let's just reinit everything. On a side note, the changelist parameter provided by read_options() (here "list") is now unused. But it's not hard to provide and might be useful for other stuff. So don't remove it from the generic read_options() code.
This commit is contained in:
parent
00af718a9e
commit
12843dcea1
|
@ -1642,9 +1642,8 @@ end
|
|||
function update_options(list)
|
||||
validate_user_opts()
|
||||
request_tick()
|
||||
if list["visibility"] then
|
||||
visibility_mode(user_opts.visibility, true)
|
||||
end
|
||||
visibility_mode(user_opts.visibility, true)
|
||||
request_init()
|
||||
end
|
||||
|
||||
-- OSC INIT
|
||||
|
|
Loading…
Reference in New Issue