From 6c346874d3f191c34651943dd3fda84bc3dd2866 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 10 Oct 2023 15:24:03 +0900 Subject: [PATCH] Add TODO mentioning that `ArgonHealthDisplay` is doing lerp wrong --- osu.Game/Screens/Play/HUD/ArgonHealthDisplay.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Screens/Play/HUD/ArgonHealthDisplay.cs b/osu.Game/Screens/Play/HUD/ArgonHealthDisplay.cs index b6e2f494d1..3c29d068e6 100644 --- a/osu.Game/Screens/Play/HUD/ArgonHealthDisplay.cs +++ b/osu.Game/Screens/Play/HUD/ArgonHealthDisplay.cs @@ -149,6 +149,7 @@ namespace osu.Game.Screens.Play.HUD double time = v.NewValue > GlowBarValue ? 500 : 250; + // TODO: this should probably use interpolation in update. this.TransformTo(nameof(HealthBarValue), v.NewValue, time, Easing.OutQuint); if (resetMissBarDelegate == null) this.TransformTo(nameof(GlowBarValue), v.NewValue, time, Easing.OutQuint);