History

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

Allows the scale mode to be changed at runtime if vidscale is set to auto.

nanahi committed 2 years ago

Commit 691a25d1 parent de371a51 file · +1 −0Browse files

Unified · Split

player/lua/osc.lua+1−0
@@ -2851,6 +2851,7 @@ mp.observe_property("osd-dimensions", "native", function() · 2850 unmodified lines
28512851 -- we might have to worry about property update ordering)
28522852 request_init_resize()
28532853 end)
2854+mp.observe_property('osd-scale-by-window', 'native', request_init_resize)
28542855
28552856 -- mouse show/hide bindings
28562857 mp.set_key_bindings({

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t