mirror of
https://github.com/ppy/osu
synced 2024-12-28 01:42:57 +00: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