summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2019-12-12 13:10:57 -0800
committerPhilip Langdale <philipl@overt.org>2019-12-12 13:12:16 -0800
commit2a0a595e379d24130a97a3375d39a5c9ce55091c (patch)
tree559345cb382e3cef861d70afb230529a53a6a380
parent19bd69e5e335fbf2505d719d3860bcc1f51d3157 (diff)
downloadmpv-2a0a595e379d24130a97a3375d39a5c9ce55091c.tar.bz2
mpv-2a0a595e379d24130a97a3375d39a5c9ce55091c.tar.xz
osc: set the wrap style for the title shown with window controls
I missed adding this when defining the style used for the video title in the window control bar. The default behaviour is to wrap, but we want to cut the title off when we run out of space.
-rw-r--r--player/lua/osc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/osc.lua b/player/lua/osc.lua
index a8ec8c9bf4..9047db45bb 100644
--- a/player/lua/osc.lua
+++ b/player/lua/osc.lua
@@ -104,7 +104,7 @@ local osc_styles = {
vidtitleBar = "{\\blur0\\bord0\\1c&HFFFFFF\\3c&HFFFFFF\\fs18\\q2}",
wcButtons = "{\\1c&HFFFFFF\\fs24\\fnmpv-osd-symbols}",
- wcTitle = "{\\1c&HFFFFFF\\fs24}",
+ wcTitle = "{\\1c&HFFFFFF\\fs24\\q2}",
wcBar = "{\\1c&H000000}",
}