mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 10:02:17 +00:00
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:
parent
de371a579f
commit
691a25de38
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user