mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Close console when it loses focus but it is still on screen
This commit is contained in:
parent
4f6bec19bc
commit
7cb5217255
3 changed files with 12 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue