summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-14 01:31:11 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-14 01:31:11 +0100
commit94109b4fb8058dbe11081b73212729eef28d3f94 (patch)
tree06b6311c1b4bb86182e12685551e1ee5ed065617
parentFixed segfault on connecting to server (diff)
downloadAltCraft-94109b4fb8058dbe11081b73212729eef28d3f94.tar
AltCraft-94109b4fb8058dbe11081b73212729eef28d3f94.tar.gz
AltCraft-94109b4fb8058dbe11081b73212729eef28d3f94.tar.bz2
AltCraft-94109b4fb8058dbe11081b73212729eef28d3f94.tar.lz
AltCraft-94109b4fb8058dbe11081b73212729eef28d3f94.tar.xz
AltCraft-94109b4fb8058dbe11081b73212729eef28d3f94.tar.zst
AltCraft-94109b4fb8058dbe11081b73212729eef28d3f94.zip
-rw-r--r--src/Render.cpp1
1 files changed, 1 insertions, 0 deletions
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);