fix: show thresholds as percentages
This commit is contained in:
parent
5efc92e093
commit
b299309463
@ -156,7 +156,7 @@ public class PluginUi : IDisposable {
|
||||
}
|
||||
|
||||
threshold *= 100f;
|
||||
if (ImGui.SliderFloat(Enum.GetName(evaluation), ref threshold, 0, 100)) {
|
||||
if (ImGui.SliderFloat(Enum.GetName(evaluation), ref threshold, 0, 100, "%.2f%%")) {
|
||||
anyChanged = true;
|
||||
this.Plugin.Config.EvaluationThresholds[evaluation] = Math.Clamp(threshold / 100, 0, 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user