Fix name of customize parameters.

This commit is contained in:
Ottermandias 2024-01-16 21:31:57 +01:00
parent 8d4f71122c
commit d57d40bd59

View file

@ -313,7 +313,7 @@ public class DesignPanel(
foreach (var flag in CustomizeParameterExtensions.AllFlags)
{
var apply = bigChange ? ((CustomizeParameterFlag)flags).HasFlag(flag) : _selector.Selected!.DoApplyParameter(flag);
if (ImGui.Checkbox($"Apply {flag}", ref apply) || bigChange)
if (ImGui.Checkbox($"Apply {flag.ToName()}", ref apply) || bigChange)
_manager.ChangeApplyParameter(_selector.Selected!, flag, apply);
}
}