1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 15:00:44 +08:00

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
This commit is contained in:
Joseph Madamba
2026-02-21 06:19:32 -08:00
committed by GitHub
Unverified
parent c144cf188a
commit 29a39cbfb7
@@ -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()