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
2851 -- we might have to worry about property update ordering)2851 -- we might have to worry about property update ordering)
2852 request_init_resize()2852 request_init_resize()
2853end)2853end)
2854mp.observe_property('osd-scale-by-window', 'native', request_init_resize)
2854 2855
2855-- mouse show/hide bindings2856-- mouse show/hide bindings
2856mp.set_key_bindings({2857mp.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