1
0
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:
Dean Herbert
2025-08-15 16:05:00 +09:00
committed by GitHub
Unverified
@@ -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)
{