mirror of
https://github.com/ppy/osu
synced 2025-04-01 14:38:37 +00:00
Remove argon health display bar length setting
It is no longer needed. Intentionally not doing backwards migration to simplify things; users can fix their skins.
This commit is contained in:
parent
2c1f304f3b
commit
374e13b496
@ -35,14 +35,6 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
Precision = 1
|
Precision = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
[SettingSource("Bar length")]
|
|
||||||
public BindableFloat BarLength { get; } = new BindableFloat(0.98f)
|
|
||||||
{
|
|
||||||
MinValue = 0.2f,
|
|
||||||
MaxValue = 1,
|
|
||||||
Precision = 0.01f,
|
|
||||||
};
|
|
||||||
|
|
||||||
private BarPath mainBar = null!;
|
private BarPath mainBar = null!;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -140,7 +132,6 @@ namespace osu.Game.Screens.Play.HUD
|
|||||||
|
|
||||||
Current.BindValueChanged(_ => Scheduler.AddOnce(updateCurrent), true);
|
Current.BindValueChanged(_ => Scheduler.AddOnce(updateCurrent), true);
|
||||||
|
|
||||||
BarLength.BindValueChanged(l => Width = l.NewValue, true);
|
|
||||||
BarHeight.BindValueChanged(_ => updatePath());
|
BarHeight.BindValueChanged(_ => updatePath());
|
||||||
updatePath();
|
updatePath();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user