chat: disable window timeout after you respond to message
This commit is contained in:
parent
71ac212dc7
commit
13bd42bdab
|
@ -109,6 +109,7 @@ public:
|
|||
lines.push_back(std::make_pair(WHITE, line));
|
||||
buf[0] = '\0';
|
||||
newMessage = true;
|
||||
enable_timeout = false;
|
||||
}
|
||||
ImGui::SetKeyboardFocusHere(-1);
|
||||
}
|
||||
|
@ -125,7 +126,7 @@ public:
|
|||
|
||||
void receive(int playerNum, const std::string& msg)
|
||||
{
|
||||
if (config::GGPOChat)
|
||||
if (config::GGPOChat && !visible)
|
||||
{
|
||||
visible = true;
|
||||
toggle_timeout();
|
||||
|
|
Loading…
Reference in New Issue