From 94109b4fb8058dbe11081b73212729eef28d3f94 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sun, 14 Jan 2018 05:31:11 +0500 Subject: Fixed chat error --- src/Render.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Render.cpp b/src/Render.cpp index 6c5cc61..9c5cd49 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -313,6 +313,7 @@ void Render::RenderGui() { for (const auto& msg : chatMessages) { ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1,1,1,1)); ImGui::TextWrapped("%s", msg.c_str()); + ImGui::PopStyleColor(); } static char buff[256]; ImGui::InputText("", buff, 256); -- cgit v1.2.3