From aa067f59844392351bd09249d452bcbd56cc2f21 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Thu, 9 May 2024 08:28:59 +0200 Subject: [PATCH] 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. --- player/lua/console.lua | 4 ++-- 1 file 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)