VideoCommon: update NetplayChatUI's chat message input to use a hidden label. This avoids an error thrown by imgui
This commit is contained in:
parent
a2a6473962
commit
dca7c67105
|
@ -57,7 +57,7 @@ void NetPlayChatUI::Display()
|
||||||
|
|
||||||
ImGui::PushItemWidth(-50.0f * scale);
|
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))
|
ImGuiInputTextFlags_EnterReturnsTrue))
|
||||||
{
|
{
|
||||||
SendMessage();
|
SendMessage();
|
||||||
|
|
Loading…
Reference in New Issue