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

@ -12,7 +12,7 @@ namespace osu.Game.Rulesets.Edit.Checks
{
public override CheckMetadata Metadata() => new CheckMetadata
(
category: CheckMetadata.CheckCategory.Resources,
category: CheckCategory.Resources,
description: "Missing background."
);
@ -24,13 +24,13 @@ namespace osu.Game.Rulesets.Edit.Checks
private readonly IssueTemplate templateNoneSet = new IssueTemplate
(
type: IssueTemplate.IssueType.Problem,
type: IssueType.Problem,
unformattedMessage: "No background has been set."
);
private readonly IssueTemplate templateDoesNotExist = new IssueTemplate
(
type: IssueTemplate.IssueType.Problem,
type: IssueType.Problem,
unformattedMessage: "The background file \"{0}\" is does not exist."
);