Move method below ctor

This commit is contained in:
Dean Herbert
2019-06-24 15:27:46 +09:00
parent 9593e66a96
commit 06eaba766b
2 changed files with 6 additions and 6 deletions

View File

@ -15,8 +15,6 @@ namespace osu.Game.Skinning
{
protected override bool ApplySizeRestrictionsToDefault => true;
protected override Sprite CreateDefault(string name) => new Sprite { Texture = textures.Get(name) };
[Resolved]
private TextureStore textures { get; set; }
@ -24,5 +22,7 @@ namespace osu.Game.Skinning
: base(name, allowFallback, restrictSize)
{
}
protected override Sprite CreateDefault(string name) => new Sprite { Texture = textures.Get(name) };
}
}