1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 06:27:18 +08:00

Add min/max constraints to HealthDisplay.

This commit is contained in:
Dean Herbert 2017-01-20 03:13:27 +08:00
parent 9f44e634a4
commit c01863dfa2

View File

@ -14,7 +14,7 @@ namespace osu.Game.Modes.UI
private Box background;
private Box fill;
public BindableDouble Current = new BindableDouble();
public BindableDouble Current = new BindableDouble() { MinValue = 0, MaxValue = 1 };
public HealthDisplay()
{