From 29a39cbfb77ab05ce2676d4b81a8a4def3fb0980 Mon Sep 17 00:00:00 2001 From: Joseph Madamba Date: Sat, 21 Feb 2026 06:19:32 -0800 Subject: [PATCH] Fix spectator player cells not having initial shadow edge effect set (#36729) - Fixes https://github.com/ppy/osu/issues/36727 Copies/sets the non-maximised edge effect initially: https://github.com/ppy/osu/blob/c144cf188a37ebc965b25818938527c02013efc4/osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/PlayerGrid.Cell.cs#L83-L88 --- .../OnlinePlay/Multiplayer/Spectate/PlayerGrid.Cell.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/PlayerGrid.Cell.cs b/osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/PlayerGrid.Cell.cs index d1ba214117..edb9b54655 100644 --- a/osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/PlayerGrid.Cell.cs +++ b/osu.Game/Screens/OnlinePlay/Multiplayer/Spectate/PlayerGrid.Cell.cs @@ -47,6 +47,13 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate Masking = true; CornerRadius = 5; + + EdgeEffect = new EdgeEffectParameters + { + Type = EdgeEffectType.Shadow, + Radius = 10, + Colour = Colour4.Black.Opacity(0.2f), + }; } protected override void Update()