From bc8710a98d5b1ea56fcb7f81a5c8bc4305481686 Mon Sep 17 00:00:00 2001 From: Ricardo Constantino Date: Sat, 4 Feb 2017 23:28:52 +0000 Subject: osc: bottom/topbar: don't clip title vertically --- player/lua/osc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player') 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 -- cgit v1.2.3