Thin out osc progress bar

A more aesthetically pleasing thin seekbar
This commit is contained in:
da3dsoul1 2023-09-08 23:33:08 +03:00 committed by GitHub
parent 57a6a16172
commit 61ad8cd798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1645,7 +1645,7 @@ function bar_layout(direction)
-- Seekbar
geo = { x = sb_l, y = geo.y, an = geo.an,
w = math.max(0, sb_r - sb_l), h = geo.h }
w = math.max(0, sb_r - sb_l), h = geo.h - 15}
new_element("bgbar1", "box")
lo = add_layout("bgbar1")
@ -1663,9 +1663,9 @@ function bar_layout(direction)
lo.geometry = geo
lo.style = osc_styles.timecodesBar
lo.slider.border = 0
lo.slider.gap = 2
lo.slider.gap = 3
lo.slider.tooltip_style = osc_styles.timePosBar
lo.slider.tooltip_an = 5
lo.slider.tooltip_an = 2
lo.slider.stype = user_opts["seekbarstyle"]
lo.slider.rtype = user_opts["seekrangestyle"]