osc.lua: handle osd-scale-by-window runtime update

Allows the scale mode to be changed at runtime if vidscale is set to auto.
This commit is contained in:
nanahi 2024-05-16 12:34:59 -04:00 committed by Kacper Michajłow
parent de371a579f
commit 691a25de38
1 changed files with 1 additions and 0 deletions

View File

@ -2851,6 +2851,7 @@ mp.observe_property("osd-dimensions", "native", function()
-- we might have to worry about property update ordering)
request_init_resize()
end)
mp.observe_property('osd-scale-by-window', 'native', request_init_resize)
-- mouse show/hide bindings
mp.set_key_bindings({