Close console when it loses focus but it is still on screen
This commit is contained in:
committed by
Kahrl
parent
4f6bec19bc
commit
7cb5217255
@@ -39,6 +39,9 @@ class GUIChatConsole : public gui::IGUIElement
|
||||
// This doesn't open immediately but initiates an animation.
|
||||
// You should call isOpenInhibited() before this.
|
||||
void openConsole(f32 height);
|
||||
|
||||
bool isOpen() const;
|
||||
|
||||
// Check if the console should not be opened at the moment
|
||||
// This is to avoid reopening the console immediately after closing
|
||||
bool isOpenInhibited() const;
|
||||
|
||||
Reference in New Issue
Block a user