fix(Overlay): Added spacing for Enabled/Disabled text on overlay indicators (#1589)

This commit is contained in:
Sixhei Tartari 2023-07-04 11:08:58 +02:00 committed by GitHub
parent a1e00b6d59
commit 19f6487171

View File

@ -116,7 +116,7 @@ namespace big
static void overlay_indicator(const std::string_view text, bool value)
{
ImGui::Text(std::format("{}: ", text).data());
ImGui::SameLine();
ImGui::SameLine(180);
ImGui::TextColored(value ? green : red, value ? "Enabled" : "Disabled");
}