mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-17 06:47:22 +08:00
fix(Overlay): Added spacing for Enabled/Disabled text on overlay indicators (#1589)
This commit is contained in:
parent
a1e00b6d59
commit
19f6487171
@ -116,7 +116,7 @@ namespace big
|
|||||||
static void overlay_indicator(const std::string_view text, bool value)
|
static void overlay_indicator(const std::string_view text, bool value)
|
||||||
{
|
{
|
||||||
ImGui::Text(std::format("{}: ", text).data());
|
ImGui::Text(std::format("{}: ", text).data());
|
||||||
ImGui::SameLine();
|
ImGui::SameLine(180);
|
||||||
ImGui::TextColored(value ? green : red, value ? "Enabled" : "Disabled");
|
ImGui::TextColored(value ? green : red, value ? "Enabled" : "Disabled");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user