summaryrefslogtreecommitdiff
path: root/src/guiChatConsole.h
diff options
context:
space:
mode:
authorZeno- <kde.psych@gmail.com>2017-01-29 19:26:00 +1000
committerGitHub <noreply@github.com>2017-01-29 19:26:00 +1000
commit707e27b5c26b6c082abbd2f385a976c5bc8964fe (patch)
tree6d3e84e178221bda1c03fe402f9fa08b20a773a8 /src/guiChatConsole.h
parent3eecc6ff4492ca21772544451fd8aa78871bac3b (diff)
downloadminetest-707e27b5c26b6c082abbd2f385a976c5bc8964fe.tar.gz
minetest-707e27b5c26b6c082abbd2f385a976c5bc8964fe.tar.bz2
minetest-707e27b5c26b6c082abbd2f385a976c5bc8964fe.zip
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.
Diffstat (limited to 'src/guiChatConsole.h')
-rw-r--r--src/guiChatConsole.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiChatConsole.h b/src/guiChatConsole.h
index 3013a1d31..4e3cae13f 100644
--- a/src/guiChatConsole.h
+++ b/src/guiChatConsole.h
@@ -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;