summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2016-09-25 15:06:21 +0100
committerwm4 <wm4@nowhere>2016-09-25 16:10:48 +0200
commit29d74ca2f5e94858e30abf1e05893ae1e63e5135 (patch)
tree40013fcc074ccb23fa300f3aa58a44c2802d32a5
parent077dd27df2df51bf0fadf8dcfd1cd5c523b895e6 (diff)
downloadmpv-29d74ca2f5e94858e30abf1e05893ae1e63e5135.tar.bz2
mpv-29d74ca2f5e94858e30abf1e05893ae1e63e5135.tar.xz
osc: Fix scaling issues when toggling fullscreen
Fixes #3429
-rw-r--r--player/lua/osc.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index d5960977ef..c127c4d686 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -2018,6 +2018,7 @@ mp.register_script_message("osc-message", show_message)
mp.observe_property("fullscreen", "bool",
function(name, val)
state.fullscreen = val
+ request_init()
end
)
mp.observe_property("idle", "bool",