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 9c445be4f4
commit bc0f08ce1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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");
}