diff --git a/src/gui/guiChatConsole.cpp b/src/gui/guiChatConsole.cpp index 50115be2ccdd3..6c24a717b93f3 100644 --- a/src/gui/guiChatConsole.cpp +++ b/src/gui/guiChatConsole.cpp @@ -359,7 +359,7 @@ void GUIChatConsole::drawText() // leave 4 pixels of space between scrollbar and text rect = core::rect (0, 0, m_screensize.X - 32 - 4, m_height); m_scrollbar->setPos(buf.getScrollPosition()); - } else + } else rect = AbsoluteClippingRect; @@ -736,10 +736,6 @@ bool GUIChatConsole::OnEvent(const SEvent& event) m_chat_backend->getConsoleBuffer().scrollAbsolute(m_scrollbar->getPos()); } - if (event.EventType == EET_GUI_EVENT && event.GUIEvent.EventType != EGET_ELEMENT_HOVERED && event.GUIEvent.EventType != EGET_ELEMENT_LEFT) { - asm("nop"); - } - return Parent ? Parent->OnEvent(event) : false; }