1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 20:03:22 +08:00

Add comment about animation presence

This commit is contained in:
Bartłomiej Dach 2020-04-30 22:51:22 +02:00
parent db4c8b2ba5
commit f5526890cc

View File

@ -24,11 +24,12 @@ namespace osu.Game.Rulesets.Taiko.UI
InternalChild = textureAnimation = createTextureAnimation(state).With(animation =>
{
animation.Origin = animation.Anchor = Anchor.BottomLeft;
RelativeSizeAxes = Axes.Both;
});
RelativeSizeAxes = Axes.Both;
Origin = Anchor = Anchor.BottomLeft;
// needs to be always present to prevent the animation clock consuming time spent when not present.
AlwaysPresent = true;
}