1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-13 08:32:57 +08:00

Fix TestSceneDrawableStoryboardSprite not displaying anything

This commit is contained in:
Bartłomiej Dach 2023-09-20 12:05:23 +02:00
parent b5e64d933c
commit d7129da8ea
No known key found for this signature in database

View File

@ -180,7 +180,7 @@ namespace osu.Game.Tests.Visual.Gameplay
layer.Elements.Clear();
layer.Add(sprite);
return storyboard.CreateDrawable();
return storyboard.CreateDrawable().With(s => s.RelativeSizeAxes = Axes.Both);
}
private void assertStoryboardSourced()