summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-24 09:50:08 +0100
committerwm4 <wm4@nowhere>2019-12-24 09:50:08 +0100
commit2636bbbf330ada736da697133e11d79b84e5134f (patch)
tree2e32c06a00865e7e3eac8108ba8f32a22576f1cf
parent67650446b57171cc49fbc2c6dda58e0a82fa0dfc (diff)
downloadmpv-2636bbbf330ada736da697133e11d79b84e5134f.tar.bz2
mpv-2636bbbf330ada736da697133e11d79b84e5134f.tar.xz
osc: redraw on visibility option runtime changes
This affects behavior when using the "del" default key binding. Sometimes, setting visibility to always did not draw it correctly. This probably fixes it.
-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 7af75c2bda..66b3c58d59 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -2672,6 +2672,7 @@ function visibility_mode(mode, no_osd)
end
update_margins()
+ request_tick()
end
visibility_mode(user_opts.visibility, true)