mirror of
https://github.com/ppy/osu
synced 2025-02-19 11:56:58 +00:00
Rename property to match expctations
This commit is contained in:
parent
535282ba7d
commit
74fb1b5f81
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user