1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:37:28 +08:00

Use variable instead of duplicated list

This commit is contained in:
Dean Herbert 2019-11-12 15:04:51 +09:00
parent 25eb964290
commit 35351d7f7c

View File

@ -618,7 +618,7 @@ namespace osu.Game
// side overlays which cancel each other.
var singleDisplaySideOverlays = new OverlayContainer[] { Settings, notifications };
foreach (var overlay in new OverlayContainer[] { Settings, notifications })
foreach (var overlay in singleDisplaySideOverlays)
{
overlay.State.ValueChanged += state =>
{