mirror of
https://github.com/ppy/osu.git
synced 2025-03-28 09:37:23 +08:00
Add min/max constraints to HealthDisplay.
This commit is contained in:
parent
9f44e634a4
commit
c01863dfa2
@ -14,7 +14,7 @@ namespace osu.Game.Modes.UI
|
|||||||
private Box background;
|
private Box background;
|
||||||
private Box fill;
|
private Box fill;
|
||||||
|
|
||||||
public BindableDouble Current = new BindableDouble();
|
public BindableDouble Current = new BindableDouble() { MinValue = 0, MaxValue = 1 };
|
||||||
|
|
||||||
public HealthDisplay()
|
public HealthDisplay()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user