diff --git a/osu.Game/Overlays/BeatmapSet/Scores/TopScoreUserSection.cs b/osu.Game/Overlays/BeatmapSet/Scores/TopScoreUserSection.cs
index a15d3c5fd1..ffc39e5af2 100644
--- a/osu.Game/Overlays/BeatmapSet/Scores/TopScoreUserSection.cs
+++ b/osu.Game/Overlays/BeatmapSet/Scores/TopScoreUserSection.cs
@@ -62,7 +62,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
},
}
},
- avatar = new UpdateableAvatar(hideImmediately: true)
+ avatar = new UpdateableAvatar
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
@@ -99,7 +99,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Origin = Anchor.CentreLeft,
Font = OsuFont.GetFont(size: 15, weight: FontWeight.Bold)
},
- flag = new UpdateableFlag(hideImmediately: true)
+ flag = new UpdateableFlag
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
diff --git a/osu.Game/Users/Drawables/UpdateableAvatar.cs b/osu.Game/Users/Drawables/UpdateableAvatar.cs
index a49f2d079b..795b90ba11 100644
--- a/osu.Game/Users/Drawables/UpdateableAvatar.cs
+++ b/osu.Game/Users/Drawables/UpdateableAvatar.cs
@@ -5,7 +5,6 @@ using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Effects;
-using osu.Framework.Graphics.Transforms;
namespace osu.Game.Users.Drawables
{
@@ -38,8 +37,6 @@ namespace osu.Game.Users.Drawables
set => base.EdgeEffect = value;
}
- protected override bool TransformImmediately { get; }
-
///
/// Whether to show a default guest representation on null user (as opposed to nothing).
///
@@ -50,14 +47,11 @@ namespace osu.Game.Users.Drawables
///
public readonly BindableBool OpenOnClick = new BindableBool(true);
- public UpdateableAvatar(User user = null, bool hideImmediately = false)
+ public UpdateableAvatar(User user = null)
{
- TransformImmediately = hideImmediately;
User = user;
}
- protected override TransformSequence ApplyHideTransforms(Drawable drawable) => TransformImmediately ? drawable?.FadeOut() : base.ApplyHideTransforms(drawable);
-
protected override Drawable CreateDrawable(User user)
{
if (user == null && !ShowGuestOnNull)
diff --git a/osu.Game/Users/Drawables/UpdateableFlag.cs b/osu.Game/Users/Drawables/UpdateableFlag.cs
index 78d1a8de20..abc16b2390 100644
--- a/osu.Game/Users/Drawables/UpdateableFlag.cs
+++ b/osu.Game/Users/Drawables/UpdateableFlag.cs
@@ -3,7 +3,6 @@
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
-using osu.Framework.Graphics.Transforms;
namespace osu.Game.Users.Drawables
{
@@ -15,21 +14,16 @@ namespace osu.Game.Users.Drawables
set => Model = value;
}
- protected override bool TransformImmediately { get; }
-
///
/// Whether to show a place holder on null country.
///
public bool ShowPlaceholderOnNull = true;
- public UpdateableFlag(Country country = null, bool hideImmediately = false)
+ public UpdateableFlag(Country country = null)
{
- TransformImmediately = hideImmediately;
Country = country;
}
- protected override TransformSequence ApplyHideTransforms(Drawable drawable) => TransformImmediately ? drawable?.FadeOut() : base.ApplyHideTransforms(drawable);
-
protected override Drawable CreateDrawable(Country country)
{
if (country == null && !ShowPlaceholderOnNull)