mirror of https://github.com/ppy/osu
Fix skinfallback test crashing on repeats
This commit is contained in:
parent
ffad1b3d94
commit
de31c1ea0c
|
@ -125,6 +125,9 @@ public Drawable GetDrawableComponent(ISkinComponent component)
|
|||
{
|
||||
if (!enabled) return null;
|
||||
|
||||
if (component is OsuSkinComponent osuComponent && osuComponent.Component == OsuSkinComponents.SliderBody)
|
||||
return null;
|
||||
|
||||
return new OsuSpriteText
|
||||
{
|
||||
Text = identifier,
|
||||
|
|
Loading…
Reference in New Issue