1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 11:42:54 +08:00

Fix IDE0055

This commit is contained in:
Huo Yaoyuan 2022-05-02 21:51:28 +08:00
parent 7cf4dabe29
commit 5513710b2e
3 changed files with 44 additions and 40 deletions

View File

@ -29,13 +29,14 @@ namespace osu.Game.Rulesets.Catch.Tests.Editor
protected CatchSelectionBlueprintTestScene()
{
EditorBeatmap = new EditorBeatmap(new CatchBeatmap
var catchBeatmap = new CatchBeatmap
{
BeatmapInfo =
{
Ruleset = new CatchRuleset().RulesetInfo,
}
}) { Difficulty = { CircleSize = 0 } };
};
EditorBeatmap = new EditorBeatmap(catchBeatmap) { Difficulty = { CircleSize = 0 } };
EditorBeatmap.ControlPointInfo.Add(0, new TimingControlPoint
{
BeatLength = 100

View File

@ -141,7 +141,8 @@ namespace osu.Game.Tests.Visual.Collections
{
AddStep("add dropdown", () =>
{
Add(new CollectionFilterDropdown
Add(
new CollectionFilterDropdown
{
Anchor = Anchor.TopRight,
Origin = Anchor.TopRight,

View File

@ -87,6 +87,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
},
};
#pragma warning disable IDE0055 // Indentation of commented code
// case MatchType.TagCoop:
// return new SpriteIcon
// {
@ -125,6 +126,7 @@ namespace osu.Game.Screens.OnlinePlay.Components
// },
// },
// };
#pragma warning restore IDE0055
}
}