From c350659ea1256249062b4af85b55501c4b1ad563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A7=8B=E6=B0=B4?= <1123993881@qq.com> Date: Wed, 12 Apr 2023 11:37:14 +0800 Subject: [PATCH] fix: changed the show string in action cd button. --- RotationSolver/UI/ImGuiHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RotationSolver/UI/ImGuiHelper.cs b/RotationSolver/UI/ImGuiHelper.cs index facfe0fb6..9ee20841a 100644 --- a/RotationSolver/UI/ImGuiHelper.cs +++ b/RotationSolver/UI/ImGuiHelper.cs @@ -583,7 +583,7 @@ private unsafe static void Display(this IBaseAction action, bool IsActive) => ac }, otherThing: () => { var enable = action.IsInCooldown; - if (ImGui.Checkbox($"CD##{action.Name}InCooldown", ref enable)) + if (ImGui.Checkbox($"CD Window##{action.Name}InCooldown", ref enable)) { action.IsInCooldown = enable; Service.Config.Save(); @@ -632,7 +632,7 @@ public unsafe static void Display(this IBaseItem item, bool IsActive) => item.Dr () => RotationConfigWindow.ActiveAction = item, otherThing: () => { var enable = item.IsInCooldown; - if (ImGui.Checkbox($"CD##{item.Name}InCooldown", ref enable)) + if (ImGui.Checkbox($"CD Window##{item.Name}InCooldown", ref enable)) { item.IsInCooldown = enable; Service.Config.Save();