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.
This commit is contained in:
Guido Cella 2024-05-09 08:28:59 +02:00 committed by Kacper Michajłow
parent f17ad792c6
commit aa067f5984
1 changed files with 2 additions and 2 deletions

View File

@ -517,7 +517,7 @@ function update()
ass:new_event() ass:new_event()
ass:an(1) 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') ass:append(log_ass .. '\\N')
if #suggestions > 0 then if #suggestions > 0 then
ass:append(suggestion_ass .. '\\N') ass:append(suggestion_ass .. '\\N')
@ -530,7 +530,7 @@ function update()
-- cursor appear in front of the text. -- cursor appear in front of the text.
ass:new_event() ass:new_event()
ass:an(1) 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(style .. '{\\alpha&HFF&}' .. ass_escape(prompt) .. ' ' .. before_cur)
ass:append(cglyph) ass:append(cglyph)
ass:append(style .. '{\\alpha&HFF&}' .. after_cur) ass:append(style .. '{\\alpha&HFF&}' .. after_cur)