1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-16 20:27:23 +00:00

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

View File

@ -1093,7 +1093,9 @@ layouts["slimbox"] = function ()
lo.style = osc_styles.box lo.style = osc_styles.box
lo.alpha[1] = user_opts.boxalpha lo.alpha[1] = user_opts.boxalpha
lo.alpha[3] = 0 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") lo = add_layout("seekbar")