From 7ec4912677e0849ee1733a333aa9dfce63bde852 Mon Sep 17 00:00:00 2001 From: AeroKoder Date: Sat, 2 Aug 2025 17:49:58 -0700 Subject: [PATCH] Made the IconContent (avatar) square, in UserAvatarNotification. --- osu.Game/Overlays/Notifications/UserAvatarNotification.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/osu.Game/Overlays/Notifications/UserAvatarNotification.cs b/osu.Game/Overlays/Notifications/UserAvatarNotification.cs index 621052bf97..32a0e31e30 100644 --- a/osu.Game/Overlays/Notifications/UserAvatarNotification.cs +++ b/osu.Game/Overlays/Notifications/UserAvatarNotification.cs @@ -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) {