diff --git a/RotationSolver.Basic/Configuration/Configs.cs b/RotationSolver.Basic/Configuration/Configs.cs index be8a2abd..ce9d4ab9 100644 --- a/RotationSolver.Basic/Configuration/Configs.cs +++ b/RotationSolver.Basic/Configuration/Configs.cs @@ -197,7 +197,7 @@ public const string [ConditionBool, UI("Stop casting if the target dies.", Filter = Extra)] private static readonly bool _useStopCasting = false; - [ConditionBool, UI("Cleanse all dispellable debuffs.", + [ConditionBool, UI("Cleanse all dispellable debuffs (not just those in the status list).", Filter = AutoActionUsage, Section = 3, PvEFilter = JobFilterType.Dispel, PvPFilter = JobFilterType.NoJob)] private static readonly bool _dispelAll = false; diff --git a/RotationSolver/UI/RotationConfigWindow.cs b/RotationSolver/UI/RotationConfigWindow.cs index 0f2d7c0d..63b68047 100644 --- a/RotationSolver/UI/RotationConfigWindow.cs +++ b/RotationSolver/UI/RotationConfigWindow.cs @@ -1463,9 +1463,10 @@ private static void DrawRotationConfiguration() if (f.UnitType == ConfigUnitType.Percent) { - if (ImGui.SliderFloat(name, ref val, f.Min, f.Max, $"{val * 100:F1}{f.UnitType.ToSymbol()}")) + float displayValue = val * 100; + if (ImGui.SliderFloat(name, ref displayValue, f.Min * 100, f.Max * 100, $"{displayValue:F1}{f.UnitType.ToSymbol()}")) { - config.Value = val.ToString(); + config.Value = (displayValue / 100).ToString(); } } else