History

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.

Guido Cella committed 2 years ago

Commit aa067f51 parent f17ad791 file · +2 −2Browse files

Showing the changes to player/lua/console.lua (1 of 1 file). Show all

Unified · Split

player/lua/console.lua+2−2
@@ -517,7 +517,7 @@ function update() · 516 unmodified lines
517517
518518 ass:new_event()
519519 ass:an(1)
520− ass:pos(2, screeny - 2 - global_margins.b * screeny)
520+ ass:pos(6, screeny - 6 - global_margins.b * screeny)
521521 ass:append(log_ass .. '\\N')
522522 if #suggestions > 0 then
523523 ass:append(suggestion_ass .. '\\N')
@@ -530,7 +530,7 @@ function update() · 6 unmodified lines
530530 -- cursor appear in front of the text.
531531 ass:new_event()
532532 ass:an(1)
533− ass:pos(2, screeny - 2 - global_margins.b * screeny)
533+ ass:pos(6, screeny - 6 - global_margins.b * screeny)
534534 ass:append(style .. '{\\alpha&HFF&}' .. ass_escape(prompt) .. ' ' .. before_cur)
535535 ass:append(cglyph)
536536 ass:append(style .. '{\\alpha&HFF&}' .. after_cur)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t