diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2023-07-29 00:27:07 -0500 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2023-07-29 00:27:07 -0500 |
| commit | dca7c67105c89b003910da70e80ed7b54325da97 (patch) | |
| tree | 3387e34fdcfbf4a17859b26fb9d70e10e683bffd /Source/Core/VideoCommon/NetPlayChatUI.cpp | |
| parent | a2a6473962ce3036aaa751d80152911e34b1e69d (diff) | |
VideoCommon: update NetplayChatUI's chat message input to use a hidden label. This avoids an error thrown by imgui
Diffstat (limited to 'Source/Core/VideoCommon/NetPlayChatUI.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/NetPlayChatUI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/NetPlayChatUI.cpp b/Source/Core/VideoCommon/NetPlayChatUI.cpp index c9db29af64..c1217d041d 100644 --- a/Source/Core/VideoCommon/NetPlayChatUI.cpp +++ b/Source/Core/VideoCommon/NetPlayChatUI.cpp @@ -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(); |
