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 =>
{