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

Add test coverage of transforms actually being applied to video

This commit is contained in:
Dean Herbert 2024-04-23 19:21:55 +08:00
parent 17ca29c2c6
commit 564dec7a14
No known key found for this signature in database

View File

@ -86,7 +86,10 @@ namespace osu.Game.Tests.Visual.Gameplay
sprite.AddLoop(Time.Current, 100).Alpha.Add(Easing.None, 0, 10000, 1, 1); sprite.AddLoop(Time.Current, 100).Alpha.Add(Easing.None, 0, 10000, 1, 1);
if (scaleTransformProvided) if (scaleTransformProvided)
sprite.TimelineGroup.Scale.Add(Easing.None, Time.Current, Time.Current, 1, 1); {
sprite.TimelineGroup.Scale.Add(Easing.None, Time.Current, Time.Current + 1000, 1, 2);
sprite.TimelineGroup.Scale.Add(Easing.None, Time.Current + 1000, Time.Current + 2000, 2, 1);
}
layer.Elements.Clear(); layer.Elements.Clear();
layer.Add(sprite); layer.Add(sprite);