summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 058a3f8d17..838f86d370 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -560,6 +560,7 @@ function render_elements(master_ass)
if (slider_lo.stype == "slider") then
foH = elem_geo.h / 2
elseif (slider_lo.stype == "bar") then
+ foV = foV + 1
foH = slider_lo.border + slider_lo.gap
end