mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Reverse IssueType
ordering
Reversed both in the enum and where it's displayed, so ends up the same in the end.
This commit is contained in:
@ -4,22 +4,22 @@
|
||||
namespace osu.Game.Rulesets.Edit.Checks.Components
|
||||
{
|
||||
/// <summary>
|
||||
/// The type, or severity, of an issue. This decides its priority.
|
||||
/// The type, or severity, of an issue.
|
||||
/// </summary>
|
||||
public enum IssueType
|
||||
{
|
||||
/// <summary> A must-fix in the vast majority of cases. </summary>
|
||||
Problem = 3,
|
||||
Problem,
|
||||
|
||||
/// <summary> A possible mistake. Often requires critical thinking. </summary>
|
||||
Warning = 2,
|
||||
Warning,
|
||||
|
||||
// TODO: Try/catch all checks run and return error templates if exceptions occur.
|
||||
/// <summary> An error occurred and a complete check could not be made. </summary>
|
||||
Error = 1,
|
||||
Error,
|
||||
|
||||
// TODO: Negligible issues should be hidden by default.
|
||||
/// <summary> A possible mistake so minor/unlikely that it can often be safely ignored. </summary>
|
||||
Negligible = 0,
|
||||
Negligible,
|
||||
}
|
||||
}
|
||||
|
@ -129,8 +129,8 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
private void refresh()
|
||||
{
|
||||
table.Issues = beatmapVerifier.Run(Beatmap)
|
||||
.OrderByDescending(issue => issue.Template.Type)
|
||||
.ThenByDescending(issue => issue.Check.Metadata.Category);
|
||||
.OrderBy(issue => issue.Template.Type)
|
||||
.ThenBy(issue => issue.Check.Metadata.Category);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user