mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 08:32:57 +08:00
Fix SkinnableSprite
s in storyboards not autosizing to their textures
This commit is contained in:
parent
dbc26c3534
commit
c9d54834be
@ -104,7 +104,13 @@ namespace osu.Game.Storyboards
|
||||
drawable = new Sprite { Texture = textureStore.Get(storyboardPath) };
|
||||
// if the texture isn't available locally in the beatmap, some storyboards choose to source from the underlying skin lookup hierarchy.
|
||||
else if (UseSkinSprites)
|
||||
drawable = new SkinnableSprite(path);
|
||||
{
|
||||
drawable = new SkinnableSprite(path)
|
||||
{
|
||||
RelativeSizeAxes = Axes.None,
|
||||
AutoSizeAxes = Axes.Both,
|
||||
};
|
||||
}
|
||||
|
||||
return drawable;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user