diff options
author | wm4 <wm4@nowhere> | 2019-12-24 09:50:08 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-24 09:50:08 +0100 |
commit | 2636bbbf330ada736da697133e11d79b84e5134f (patch) | |
tree | 2e32c06a00865e7e3eac8108ba8f32a22576f1cf /player/lua | |
parent | 67650446b57171cc49fbc2c6dda58e0a82fa0dfc (diff) | |
download | mpv-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.
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/osc.lua | 1 |
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) |