mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 00:09:55 +09:00
Don't return low res and too low res at the same time
This commit is contained in:
@ -44,8 +44,7 @@ namespace osu.Game.Rulesets.Edit.Checks
|
|||||||
|
|
||||||
if (texture.Width < min_width || texture.Height < min_height)
|
if (texture.Width < min_width || texture.Height < min_height)
|
||||||
yield return new IssueTemplateTooLowResolution(this).Create(texture.Width, texture.Height);
|
yield return new IssueTemplateTooLowResolution(this).Create(texture.Width, texture.Height);
|
||||||
|
else if (texture.Width < low_width || texture.Height < low_height)
|
||||||
if (texture.Width < low_width || texture.Height < low_height)
|
|
||||||
yield return new IssueTemplateLowResolution(this).Create(texture.Width, texture.Height);
|
yield return new IssueTemplateLowResolution(this).Create(texture.Width, texture.Height);
|
||||||
|
|
||||||
string storagePath = workingBeatmap.BeatmapInfo.BeatmapSet.GetPathForFile(workingBeatmap.Metadata.BackgroundFile);
|
string storagePath = workingBeatmap.BeatmapInfo.BeatmapSet.GetPathForFile(workingBeatmap.Metadata.BackgroundFile);
|
||||||
|
Reference in New Issue
Block a user