Merge pull request #12078 from iwubcode/imgui_netplay_fix

VideoCommon: update NetplayChatUI's chat message to avoid imgui error
This commit is contained in:
Admiral H. Curtiss 2023-07-29 13:54:21 +02:00 committed by GitHub
commit 163c97e242
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ void NetPlayChatUI::Display()
ImGui::PushItemWidth(-50.0f * scale);
if (ImGui::InputText("", m_message_buf, IM_ARRAYSIZE(m_message_buf),
if (ImGui::InputText("##NetplayMessageBuffer", m_message_buf, IM_ARRAYSIZE(m_message_buf),
ImGuiInputTextFlags_EnterReturnsTrue))
{
SendMessage();