Round off OptionFloatItem

This commit is contained in:
D1GQ committed 2026-07-25 01:00:12 -05:00
1 parent 6f229d4ea2
commit aa8ed57e21
1 file changed
+1
@@ -154,6 +154,7 @@ public class OptionFloatItem : OptionItem<float>
public override void SetValue(float newValue)
{
newValue = Math.Clamp(newValue, Range.min, Range.max);
newValue = (float)Math.Round(newValue, 1);
base.SetValue(newValue);
}