1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 00:42:55 +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
commit daece0104c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]