mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Add test coverage of transforms actually being applied to video
This commit is contained in:
parent
17ca29c2c6
commit
564dec7a14
@ -86,7 +86,10 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
sprite.AddLoop(Time.Current, 100).Alpha.Add(Easing.None, 0, 10000, 1, 1);
|
||||
|
||||
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.Add(sprite);
|
||||
|
Loading…
Reference in New Issue
Block a user