1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-27 16:10:16 +08:00

Merge pull request #11675 from Joehuu/remove-old-alpha-hack

Remove old alpha hack from nub fill
This commit is contained in:
Dan Balasescu
2021-02-05 11:13:47 +09:00
committed by GitHub
Unverified
+1 -7
View File
@@ -42,13 +42,7 @@ namespace osu.Game.Graphics.UserInterface
},
};
Current.ValueChanged += filled =>
{
if (filled.NewValue)
fill.FadeIn(200, Easing.OutQuint);
else
fill.FadeTo(0.01f, 200, Easing.OutQuint); //todo: remove once we figure why containers aren't drawing at all times
};
Current.ValueChanged += filled => fill.FadeTo(filled.NewValue ? 1 : 0, 200, Easing.OutQuint);
}
[BackgroundDependencyLoader]