From c01863dfa2e408a6530967a2382ef3c87ed74e42 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 20 Jan 2017 03:13:27 +0800 Subject: [PATCH] Add min/max constraints to HealthDisplay. --- osu.Game/Modes/UI/HealthDisplay.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Modes/UI/HealthDisplay.cs b/osu.Game/Modes/UI/HealthDisplay.cs index 1892c6e593..f4f1cc37f9 100644 --- a/osu.Game/Modes/UI/HealthDisplay.cs +++ b/osu.Game/Modes/UI/HealthDisplay.cs @@ -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() {