Move HasFont to legacy skin extensions class instead

This commit is contained in:
Salman Ahmed
2020-08-19 07:58:23 +03:00
parent 4dbf695bca
commit 422100192c
4 changed files with 5 additions and 4 deletions

View File

@ -62,6 +62,9 @@ namespace osu.Game.Skinning
}
}
public static bool HasFont(this ISkin source, string fontPrefix)
=> source.GetTexture($"{fontPrefix}-0") != null;
public class SkinnableTextureAnimation : TextureAnimation
{
[Resolved(canBeNull: true)]