summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2017-02-04 23:28:52 +0000
committerRicardo Constantino <wiiaboo@gmail.com>2017-03-24 16:16:12 +0000
commitbc8710a98d5b1ea56fcb7f81a5c8bc4305481686 (patch)
tree36e17607f3d0014ef5d30dd1efebcf4ee84565d0 /player
parentaee08e3f51fcfe6b09b81bed263bc9510af3d2b9 (diff)
downloadmpv-bc8710a98d5b1ea56fcb7f81a5c8bc4305481686.tar.bz2
mpv-bc8710a98d5b1ea56fcb7f81a5c8bc4305481686.tar.xz
osc: bottom/topbar: don't clip title vertically
Diffstat (limited to 'player')
-rw-r--r--player/lua/osc.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index 3e3faa0d10..a9c5f503ca 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -1217,7 +1217,7 @@ layouts["bottombar"] = function()
lo.geometry = geo
lo.style = string.format("%s{\\clip(%f,%f,%f,%f)}",
osc_styles.vidtitleBar,
- geo.x, geo.y-geo.h/2, geo.w, geo.y+geo.h/2)
+ geo.x, geo.y-geo.h, geo.w, geo.y+geo.h)
-- Playback control buttons
@@ -1444,7 +1444,7 @@ layouts["topbar"] = function()
lo.geometry = geo
lo.style = string.format("%s{\\clip(%f,%f,%f,%f)}",
osc_styles.vidtitleBar,
- geo.x, geo.y-geo.h/2, geo.w, geo.y+geo.h/2)
+ geo.x, geo.y-geo.h, geo.w, geo.y+geo.h)
end
-- Validate string type user options