mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add chat console scrollbar (#15104)
This commit is contained in:
@@ -1799,7 +1799,9 @@ void Game::processUserInput(f32 dtime)
|
||||
m_game_focused = true;
|
||||
}
|
||||
|
||||
if (!guienv->hasFocus(gui_chat_console.get()) && gui_chat_console->isOpen()) {
|
||||
if (!guienv->hasFocus(gui_chat_console.get()) && gui_chat_console->isOpen()
|
||||
&& !gui_chat_console->isMyChild(guienv->getFocus()))
|
||||
{
|
||||
gui_chat_console->closeConsoleAtOnce();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user