diff options
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index f4641670d..824ba4882 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -2081,6 +2081,18 @@ void ChatWindow::draw(Graphics* graphics) BLOCK_END("ChatWindow::draw") } +void ChatWindow::safeDraw(Graphics* graphics) +{ + BLOCK_START("ChatWindow::draw") + if (!mAutoHide || mHaveMouse) + { + GLDEBUG_START("ChatWindow::draw"); + Window::safeDraw(graphics); + GLDEBUG_END(); + } + BLOCK_END("ChatWindow::draw") +} + void ChatWindow::updateVisibility() { if (!gui) |