aboutsummaryrefslogtreecommitdiffhomepage
path: root/player/lua
diff options
context:
space:
mode:
authorGravatar Ricardo Constantino <wiiaboo@gmail.com>2016-10-26 00:56:04 +0100
committerGravatar Ricardo Constantino <wiiaboo@gmail.com>2016-10-29 18:14:02 +0100
commit894dbcd1b7f471e1232b3ce51ef3ec801537c63c (patch)
tree8abe24e6e3ac4fdab182360aa69912fe08ec5106 /player/lua
parent90b968a67a73473d615e2ee6135756573d0da6f2 (diff)
osc: fix missing chapter ticks with seekbarstyle=bar
Diffstat (limited to 'player/lua')
-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