mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Use variable instead of duplicated list
This commit is contained in:
@ -618,7 +618,7 @@ namespace osu.Game
|
|||||||
// side overlays which cancel each other.
|
// side overlays which cancel each other.
|
||||||
var singleDisplaySideOverlays = new OverlayContainer[] { Settings, notifications };
|
var singleDisplaySideOverlays = new OverlayContainer[] { Settings, notifications };
|
||||||
|
|
||||||
foreach (var overlay in new OverlayContainer[] { Settings, notifications })
|
foreach (var overlay in singleDisplaySideOverlays)
|
||||||
{
|
{
|
||||||
overlay.State.ValueChanged += state =>
|
overlay.State.ValueChanged += state =>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user