osc: fix crash when toggling visibility

The previous osc.lua related commit removed this function, and trying to
call it crashed the OSC. Just remove the call.
This commit is contained in:
wm4 2019-12-19 22:10:09 +01:00
parent 3460a7b696
commit 69fb2ddbc7
1 changed files with 0 additions and 1 deletions

View File

@ -2118,7 +2118,6 @@ function hide_osc()
-- typically hide happens at render() from tick(), but now tick() is -- typically hide happens at render() from tick(), but now tick() is
-- no-op and won't render again to remove the osc, so do that manually. -- no-op and won't render again to remove the osc, so do that manually.
state.osc_visible = false state.osc_visible = false
timer_stop()
render_wipe() render_wipe()
elseif (user_opts.fadeduration > 0) then elseif (user_opts.fadeduration > 0) then
if not(state.osc_visible == false) then if not(state.osc_visible == false) then