mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Rename height to scale for openConsole() (#5139)
For Game::openConsole() and GUIChatConsole::openConsole() the parameter name 'height' is misleading because it's actually a percentage of the screen/window height.
This commit is contained in:
parent
3eecc6ff44
commit
707e27b5c2
3 changed files with 11 additions and 7 deletions
|
@ -41,7 +41,7 @@ public:
|
|||
// Open the console (height = desired fraction of screen size)
|
||||
// This doesn't open immediately but initiates an animation.
|
||||
// You should call isOpenInhibited() before this.
|
||||
void openConsole(f32 height);
|
||||
void openConsole(f32 scale);
|
||||
|
||||
bool isOpen() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue