mirror of https://github.com/mpv-player/mpv
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:
parent
f17ad792c6
commit
aa067f5984
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue