osc: slimbox: fix clipping with seekbarstyle=bar

Fixes #3737
This commit is contained in:
Ricardo Constantino 2016-11-07 20:00:31 +00:00
parent 6a06e6002b
commit 8b7f23129d
No known key found for this signature in database
GPG Key ID: EFD16019AE4FF531
1 changed files with 3 additions and 1 deletions

View File

@ -1093,7 +1093,9 @@ layouts["slimbox"] = function ()
lo.style = osc_styles.box
lo.alpha[1] = user_opts.boxalpha
lo.alpha[3] = 0
lo.box.radius = osc_geo.r
if not (user_opts["seekbarstyle"] == "bar") then
lo.box.radius = osc_geo.r
end
lo = add_layout("seekbar")