1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-01 01:12:54 +08:00

Update usages of showGuestOnNull

This commit is contained in:
Dean Herbert 2021-06-17 16:33:43 +09:00
parent 808b2baa41
commit a0e5301c9f
3 changed files with 3 additions and 6 deletions

View File

@ -81,9 +81,8 @@ namespace osu.Game.Overlays.BeatmapSet
AutoSizeAxes = Axes.Both, AutoSizeAxes = Axes.Both,
CornerRadius = 4, CornerRadius = 4,
Masking = true, Masking = true,
Child = avatar = new UpdateableAvatar Child = avatar = new UpdateableAvatar(showGuestOnNull: false)
{ {
ShowGuestOnNull = false,
Size = new Vector2(height), Size = new Vector2(height),
}, },
EdgeEffect = new EdgeEffectParameters EdgeEffect = new EdgeEffectParameters

View File

@ -61,7 +61,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
}, },
} }
}, },
avatar = new UpdateableAvatar avatar = new UpdateableAvatar(showGuestOnNull: false)
{ {
Anchor = Anchor.Centre, Anchor = Anchor.Centre,
Origin = Anchor.Centre, Origin = Anchor.Centre,
@ -75,7 +75,6 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Offset = new Vector2(0, 2), Offset = new Vector2(0, 2),
Radius = 1, Radius = 1,
}, },
ShowGuestOnNull = false,
}, },
new FillFlowContainer new FillFlowContainer
{ {

View File

@ -58,12 +58,11 @@ namespace osu.Game.Overlays.Profile.Header
Origin = Anchor.CentreLeft, Origin = Anchor.CentreLeft,
Children = new Drawable[] Children = new Drawable[]
{ {
avatar = new UpdateableAvatar(openOnClick: false) avatar = new UpdateableAvatar(openOnClick: false, showGuestOnNull: false)
{ {
Size = new Vector2(avatar_size), Size = new Vector2(avatar_size),
Masking = true, Masking = true,
CornerRadius = avatar_size * 0.25f, CornerRadius = avatar_size * 0.25f,
ShowGuestOnNull = false,
}, },
new Container new Container
{ {