projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Close console when it loses focus but it is still on screen
[oweals/minetest.git]
/
src
/
guiChatConsole.cpp
diff --git
a/src/guiChatConsole.cpp
b/src/guiChatConsole.cpp
index 3dfd0090a6c6b224898b06ed678ec41269f33eb8..c1219fb808c29fe535e01b3267b5e7c4070f8444 100644
(file)
--- a/
src/guiChatConsole.cpp
+++ b/
src/guiChatConsole.cpp
@@
-134,6
+134,11
@@
void GUIChatConsole::openConsole(f32 height)
reformatConsole();
}
+bool GUIChatConsole::isOpen() const
+{
+ return m_open;
+}
+
bool GUIChatConsole::isOpenInhibited() const
{
return m_open_inhibited > 0;