History

console.lua: use the same opacity for menu as for everything else

There was a mistake of using hex (50) instead of decimal (80) it is converted to %x later on.

Kacper Michajłow committed 1 year ago

Commit ba31aa71 parent e908efe2 files · +2 −2Browse files

Unified · Split

2 files
  1. DOCS/man/console.rst +1 −1
  2. player/lua/console.lua +1 −1
DOCS/man/console.rst+1−1
@@ -167,7 +167,7 @@ Configurable Options · 166 unmodified lines
167167 Set the font border size used for the REPL and the console.
168168
169169 ``background_alpha``
170− Default: 20
170+ Default: 80
171171
172172 The transparency of the menu's background. Ranges from 0 (opaque) to 255
173173 (fully transparent).
player/lua/console.lua+1−1
@@ -32,7 +32,7 @@ local opts = { · 31 unmodified lines
3232 font = "",
3333 font_size = 24,
3434 border_size = 1.65,
35− background_alpha = 50,
35+ background_alpha = 80,
3636 padding = 10,
3737 menu_outline_size = 0,
3838 menu_outline_color = '#FFFFFF',

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