mirror of
https://github.com/ppy/osu.git
synced 2026-06-13 05:53:39 +08:00
Apply new code styling (EAP)
This commit is contained in:
@@ -34,10 +34,10 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
|
||||
BeatmapInfo[] allBeatmaps =
|
||||
[
|
||||
..beatmap1.Beatmaps,
|
||||
..beatmap2.Beatmaps,
|
||||
..beatmap3.Beatmaps,
|
||||
..beatmap4.Beatmaps
|
||||
.. beatmap1.Beatmaps,
|
||||
.. beatmap2.Beatmaps,
|
||||
.. beatmap3.Beatmaps,
|
||||
.. beatmap4.Beatmaps
|
||||
];
|
||||
|
||||
var results = await runGrouping(GroupMode.None, beatmapSets);
|
||||
|
||||
@@ -26,23 +26,23 @@ namespace osu.Game.Tests.Visual.SongSelect
|
||||
List<BeatmapCollection> collections =
|
||||
[
|
||||
new BeatmapCollection("collection one", [
|
||||
..BeatmapSets[0].Beatmaps.Select(b => b.MD5Hash),
|
||||
..BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash),
|
||||
..BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash),
|
||||
.. BeatmapSets[0].Beatmaps.Select(b => b.MD5Hash),
|
||||
.. BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash),
|
||||
.. BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash),
|
||||
BeatmapSets[5].Beatmaps[1].MD5Hash,
|
||||
BeatmapSets[8].Beatmaps[0].MD5Hash,
|
||||
]),
|
||||
new BeatmapCollection("collection two", [
|
||||
BeatmapSets[0].Beatmaps[0].MD5Hash,
|
||||
..BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash),
|
||||
..BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash),
|
||||
.. BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash),
|
||||
.. BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash),
|
||||
BeatmapSets[6].Beatmaps[2].MD5Hash,
|
||||
BeatmapSets[8].Beatmaps[2].MD5Hash,
|
||||
]),
|
||||
new BeatmapCollection("collection one copy", [
|
||||
..BeatmapSets[0].Beatmaps.Select(b => b.MD5Hash),
|
||||
..BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash),
|
||||
..BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash),
|
||||
.. BeatmapSets[0].Beatmaps.Select(b => b.MD5Hash),
|
||||
.. BeatmapSets[1].Beatmaps.Select(b => b.MD5Hash),
|
||||
.. BeatmapSets[2].Beatmaps.Select(b => b.MD5Hash),
|
||||
BeatmapSets[5].Beatmaps[1].MD5Hash,
|
||||
BeatmapSets[8].Beatmaps[0].MD5Hash,
|
||||
]),
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace osu.Game.Overlays.Rankings.Tables
|
||||
Children =
|
||||
[
|
||||
new UpdateableFlag(GetCountryCode(item)) { Size = new Vector2(28, 20) },
|
||||
..CreateFlagContent(item)
|
||||
.. CreateFlagContent(item)
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
+1
-1
@@ -97,7 +97,7 @@ namespace osu.Game.Screens.OnlinePlay.Matchmaking.RankedPlay.Card
|
||||
},
|
||||
]
|
||||
},
|
||||
..ruleset.GetBeatmapAttributesForRankedPlayCard(beatmap, []).Select(attribute => new AttributeRow(attribute))
|
||||
.. ruleset.GetBeatmapAttributesForRankedPlayCard(beatmap, []).Select(attribute => new AttributeRow(attribute))
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
@@ -11,9 +11,9 @@ namespace osu.Game.Utils
|
||||
|
||||
public static readonly string[] ALL_EXTENSIONS =
|
||||
[
|
||||
..VIDEO_EXTENSIONS,
|
||||
..AUDIO_EXTENSIONS,
|
||||
..IMAGE_EXTENSIONS
|
||||
.. VIDEO_EXTENSIONS,
|
||||
.. AUDIO_EXTENSIONS,
|
||||
.. IMAGE_EXTENSIONS
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user