mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 10:07:52 +08:00
Fix inspections
This commit is contained in:
parent
38f7913b31
commit
2fc06f16b5
@ -91,11 +91,11 @@ namespace osu.Game.Rulesets.Osu.Tests
|
|||||||
|
|
||||||
var skinnable = firstObject.ApproachCircle;
|
var skinnable = firstObject.ApproachCircle;
|
||||||
|
|
||||||
if (skin == null && skinnable?.Drawable is DefaultApproachCircle)
|
if (skin == null && skinnable.Drawable is DefaultApproachCircle)
|
||||||
// check for default skin provider
|
// check for default skin provider
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
var text = skinnable?.Drawable as SpriteText;
|
var text = skinnable.Drawable as SpriteText;
|
||||||
|
|
||||||
return text?.Text == skin;
|
return text?.Text == skin;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user