diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2016-11-07 20:00:31 +0000 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2016-11-07 22:00:17 +0000 |
commit | 8b7f23129d2e6467ec31826f46657ff7d546624c (patch) | |
tree | 5afbb8e9dbaef054b8d1628f01b7681f4e70e4c4 /player | |
parent | 6a06e6002b4d879b1586dcee74cadb5f837680d8 (diff) |
osc: slimbox: fix clipping with seekbarstyle=bar
Fixes #3737
Diffstat (limited to 'player')
-rw-r--r-- | player/lua/osc.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua index 14c18767d8..a6cdcbe0eb 100644 --- a/player/lua/osc.lua +++ b/player/lua/osc.lua @@ -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") |