VideoCommon: update NetplayChatUI's chat message input to use a hidden label. This avoids an error thrown by imgui

This commit is contained in:
iwubcode 2023-07-29 00:27:07 -05:00
parent a2a6473962
commit dca7c67105
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();