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
167 Set the font border size used for the REPL and the console.167 Set the font border size used for the REPL and the console.
168 168
169``background_alpha``169``background_alpha``
170 Default: 20170 Default: 80
171 171
172 The transparency of the menu's background. Ranges from 0 (opaque) to 255172 The transparency of the menu's background. Ranges from 0 (opaque) to 255
173 (fully transparent).173 (fully transparent).
player/lua/console.lua+1−1
@@ -32,7 +32,7 @@ local opts = { · 31 unmodified lines
32 font = "",32 font = "",
33 font_size = 24,33 font_size = 24,
34 border_size = 1.65,34 border_size = 1.65,
35 background_alpha = 50,35 background_alpha = 80,
36 padding = 10,36 padding = 10,
37 menu_outline_size = 0,37 menu_outline_size = 0,
38 menu_outline_color = '#FFFFFF',38 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