diff options
author | wm4 <wm4@nowhere> | 2019-12-22 12:52:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-12-22 12:52:36 +0100 |
commit | 3267bcd210af431c7f8b22f4a7653d3881209b36 (patch) | |
tree | ce0ea9afda354dfec24c5febc12f8d8561173eb6 /player/lua | |
parent | b8995048628cd3701d0669da305a3bcf28b2d4bf (diff) | |
download | mpv-3267bcd210af431c7f8b22f4a7653d3881209b36.tar.bz2 mpv-3267bcd210af431c7f8b22f4a7653d3881209b36.tar.xz |
console: reduce border size
This looks better if the ASS canvas size is used to scale according to
HiDPI factor (instead of font size).
Diffstat (limited to 'player/lua')
-rw-r--r-- | player/lua/console.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua/console.lua b/player/lua/console.lua index c59874cd32..2444f3359d 100644 --- a/player/lua/console.lua +++ b/player/lua/console.lua @@ -162,7 +162,7 @@ function update() '\\1a&H00&\\3a&H00&\\4a&H99&' .. '\\1c&Heeeeee&\\3c&H111111&\\4c&H000000&' .. '\\fn' .. opts.font .. '\\fs' .. opts.font_size .. - '\\bord2\\xshad0\\yshad1\\fsp0\\q1}' + '\\bord1\\xshad0\\yshad1\\fsp0\\q1}' -- Create the cursor glyph as an ASS drawing. ASS will draw the cursor -- inline with the surrounding text, but it sets the advance to the width -- of the drawing. So the cursor doesn't affect layout too much, make it as |