Move shadow fade logic

This commit is contained in:
Dean Herbert
2019-05-14 15:19:23 +09:00
parent a765f2502d
commit e893925417
3 changed files with 20 additions and 21 deletions

View File

@ -28,18 +28,6 @@ namespace osu.Game.Overlays
public const float CONTENT_X_MARGIN = 70;
protected override void PopIn()
{
base.PopIn();
FadeEdgeEffectTo(0.5f, WaveContainer.APPEAR_DURATION, Easing.In);
}
protected override void PopOut()
{
base.PopOut();
FadeEdgeEffectTo(0, WaveContainer.DISAPPEAR_DURATION, Easing.Out);
}
public void ShowUser(long userId) => ShowUser(new User { Id = userId });
public void ShowUser(User user, bool fetchOnline = true)