Rename property to match expctations

This commit is contained in:
Dean Herbert 2023-11-15 10:40:59 +09:00
parent 535282ba7d
commit 74fb1b5f81
No known key found for this signature in database

View File

@ -20,7 +20,7 @@ namespace osu.Game.Skinning.Components
[SettingSource(typeof(SkinnableComponentStrings), nameof(SkinnableComponentStrings.CornerRadius), nameof(SkinnableComponentStrings.CornerRadiusDescription),
SettingControlType = typeof(SettingsPercentageSlider<float>))]
public BindableFloat CornerRounding { get; } = new BindableFloat(1)
public new BindableFloat CornerRadius { get; } = new BindableFloat(1)
{
Precision = 0.01f,
MinValue = 0,
@ -47,7 +47,7 @@ namespace osu.Game.Skinning.Components
{
base.Update();
CornerRadius = CornerRounding.Value * Math.Min(DrawWidth, DrawHeight) * 0.5f;
base.CornerRadius = CornerRadius.Value * Math.Min(DrawWidth, DrawHeight) * 0.5f;
}
}
}