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:
Zeno-
2017-01-29 19:26:00 +10:00
committed by GitHub
parent 3eecc6ff44
commit 707e27b5c2
3 changed files with 11 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ class GUIChatConsole : public gui::IGUIElement
// 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;