Move enums out of nesting

This commit is contained in:
Dean Herbert
2021-04-12 15:32:52 +09:00
parent 3551322f1d
commit f78239c7f2
7 changed files with 73 additions and 63 deletions

View File

@ -24,7 +24,7 @@ namespace osu.Game.Rulesets.Osu.Edit.Checks
public override CheckMetadata Metadata() => new CheckMetadata
(
category: CheckMetadata.CheckCategory.Compose,
category: CheckCategory.Compose,
description: "Offscreen hitobjects."
);
@ -36,13 +36,13 @@ namespace osu.Game.Rulesets.Osu.Edit.Checks
private readonly IssueTemplate templateOffscreen = new IssueTemplate
(
type: IssueTemplate.IssueType.Problem,
type: IssueType.Problem,
unformattedMessage: "This object goes offscreen on a 4:3 aspect ratio."
);
private readonly IssueTemplate templateOffscreenSliderPath = new IssueTemplate
(
type: IssueTemplate.IssueType.Problem,
type: IssueType.Problem,
unformattedMessage: "This slider goes offscreen here on a 4:3 aspect ratio."
);