1
0
mirror of synced 2025-02-07 14:41:21 +01:00

ui: Make pattern editor error popup text more readable

Closes #517
This commit is contained in:
WerWolv 2022-05-29 21:54:40 +02:00
parent 6a6b6b94cf
commit 05862ae991

View File

@ -821,7 +821,7 @@ void TextEditor::Render() {
ImGui::Text("Error at line %d:", errorIt->first); ImGui::Text("Error at line %d:", errorIt->first);
ImGui::PopStyleColor(); ImGui::PopStyleColor();
ImGui::Separator(); ImGui::Separator();
ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(1.0f, 1.0f, 0.2f, 1.0f)); ImGui::PushStyleColor(ImGuiCol_Text, ImVec4(0.5f, 0.5f, 0.2f, 1.0f));
ImGui::Text("%s", errorIt->second.c_str()); ImGui::Text("%s", errorIt->second.c_str());
ImGui::PopStyleColor(); ImGui::PopStyleColor();
ImGui::EndTooltip(); ImGui::EndTooltip();