From 69fb2ddbc7b8ccec31348be4b7357ad9a8d48896 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 19 Dec 2019 22:10:09 +0100 Subject: 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. --- player/lua/osc.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 78686df99b..54909593f6 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -2118,7 +2118,6 @@ function hide_osc() -- 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. state.osc_visible = false - timer_stop() render_wipe() elseif (user_opts.fadeduration > 0) then if not(state.osc_visible == false) then -- cgit v1.2.3