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:
parent
25eb964290
commit
35351d7f7c
@ -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 =>
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user