mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 09:50:13 +08:00
Merge pull request #34533 from AeroKoder/user-avatar-notification
Made the user avatar square, in `UserAvatarNotification`.
This commit is contained in:
@@ -31,6 +31,7 @@ namespace osu.Game.Overlays.Notifications
|
||||
IconContent.Masking = true;
|
||||
IconContent.CornerRadius = CORNER_RADIUS;
|
||||
IconContent.ChangeChildDepth(IconDrawable, float.MinValue);
|
||||
IconContent.OnUpdate += _ => IconContent.Width = IconContent.BoundingBox.Height;
|
||||
|
||||
LoadComponentAsync(Avatar = new DrawableAvatar(user)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user