diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2017-02-04 23:28:52 +0000 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2017-03-24 16:16:12 +0000 |
commit | bc8710a98d5b1ea56fcb7f81a5c8bc4305481686 (patch) | |
tree | 36e17607f3d0014ef5d30dd1efebcf4ee84565d0 /player/lua/osc.lua | |
parent | aee08e3f51fcfe6b09b81bed263bc9510af3d2b9 (diff) | |
download | mpv-bc8710a98d5b1ea56fcb7f81a5c8bc4305481686.tar.bz2 mpv-bc8710a98d5b1ea56fcb7f81a5c8bc4305481686.tar.xz |
osc: bottom/topbar: don't clip title vertically
Diffstat (limited to 'player/lua/osc.lua')
-rw-r--r-- | player/lua/osc.lua | 4 |
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 |