mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 21:12:23 +00:00
osc: bottom/topbar: don't clip title vertically
This commit is contained in:
parent
aee08e3f51
commit
bc8710a98d
@ -1217,7 +1217,7 @@ layouts["bottombar"] = function()
|
|||||||
lo.geometry = geo
|
lo.geometry = geo
|
||||||
lo.style = string.format("%s{\\clip(%f,%f,%f,%f)}",
|
lo.style = string.format("%s{\\clip(%f,%f,%f,%f)}",
|
||||||
osc_styles.vidtitleBar,
|
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
|
-- Playback control buttons
|
||||||
@ -1444,7 +1444,7 @@ layouts["topbar"] = function()
|
|||||||
lo.geometry = geo
|
lo.geometry = geo
|
||||||
lo.style = string.format("%s{\\clip(%f,%f,%f,%f)}",
|
lo.style = string.format("%s{\\clip(%f,%f,%f,%f)}",
|
||||||
osc_styles.vidtitleBar,
|
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
|
end
|
||||||
|
|
||||||
-- Validate string type user options
|
-- Validate string type user options
|
||||||
|
Loading…
Reference in New Issue
Block a user