summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2024-05-09 08:28:59 +0200
committerKacper Michajłow <kasper93@gmail.com>2024-05-10 22:57:44 +0200
commitaa067f59844392351bd09249d452bcbd56cc2f21 (patch)
treea6a1291d533c2845692d4cea31c746e4b9da99b7
parentf17ad792c675d2e953cdecf81b8fb0c03ef71690 (diff)
downloadmpv-aa067f59844392351bd09249d452bcbd56cc2f21.tar.bz2
mpv-aa067f59844392351bd09249d452bcbd56cc2f21.tar.xz
console.lua: increase margins from the bottom-left corner
console.lua is too close to the left and bottom of the OSD IMO. Make the margins a bit bigger.
-rw-r--r--player/lua/console.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua/console.lua b/player/lua/console.lua
index 475ee2469a..f29901c35a 100644
--- a/player/lua/console.lua
+++ b/player/lua/console.lua
@@ -517,7 +517,7 @@ function update()
ass:new_event()
ass:an(1)
- ass:pos(2, screeny - 2 - global_margins.b * screeny)
+ ass:pos(6, screeny - 6 - global_margins.b * screeny)
ass:append(log_ass .. '\\N')
if #suggestions > 0 then
ass:append(suggestion_ass .. '\\N')
@@ -530,7 +530,7 @@ function update()
-- cursor appear in front of the text.
ass:new_event()
ass:an(1)
- ass:pos(2, screeny - 2 - global_margins.b * screeny)
+ ass:pos(6, screeny - 6 - global_margins.b * screeny)
ass:append(style .. '{\\alpha&HFF&}' .. ass_escape(prompt) .. ' ' .. before_cur)
ass:append(cglyph)
ass:append(style .. '{\\alpha&HFF&}' .. after_cur)