mirror of
https://github.com/ppy/osu.git
synced 2024-12-13 03:42:57 +08:00
Resolve post-merge-conflict issues
This commit is contained in:
parent
895c09d4d1
commit
4ffeb5b469
@ -85,8 +85,8 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
|
||||
if (scaleTransformProvided)
|
||||
{
|
||||
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);
|
||||
sprite.Commands.AddScale(Easing.None, Time.Current, Time.Current + 1000, 1, 2);
|
||||
sprite.Commands.AddScale(Easing.None, Time.Current + 1000, Time.Current + 2000, 2, 1);
|
||||
}
|
||||
|
||||
layer.Elements.Clear();
|
||||
|
@ -39,7 +39,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
{
|
||||
var storyboard = new Storyboard();
|
||||
var sprite = new StoryboardSprite("unknown", Anchor.TopLeft, Vector2.Zero);
|
||||
sprite.TimelineGroup.Alpha.Add(Easing.None, startTime, 0, 0, 1);
|
||||
sprite.Commands.AddAlpha(Easing.None, startTime, 0, 0, 1);
|
||||
storyboard.GetLayer("Background").Add(sprite);
|
||||
return storyboard;
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ namespace osu.Game.Storyboards.Drawables
|
||||
// This allows scaling based on the video's absolute size.
|
||||
//
|
||||
// If not specified we take up the full available space.
|
||||
bool useRelative = !video.TimelineGroup.Scale.HasCommands;
|
||||
bool useRelative = !video.Commands.Scale.Any();
|
||||
|
||||
RelativeSizeAxes = useRelative ? Axes.Both : Axes.None;
|
||||
AutoSizeAxes = useRelative ? Axes.None : Axes.Both;
|
||||
|
@ -14,7 +14,7 @@ namespace osu.Game.Storyboards
|
||||
{
|
||||
// This is just required to get a valid StartTime based on the incoming offset.
|
||||
// Actual fades are handled inside DrawableStoryboardVideo for now.
|
||||
TimelineGroup.Alpha.Add(Easing.None, offset, offset, 0, 0);
|
||||
Commands.AddAlpha(Easing.None, offset, offset, 0, 0);
|
||||
}
|
||||
|
||||
public override Drawable CreateDrawable() => new DrawableStoryboardVideo(this);
|
||||
|
Loading…
Reference in New Issue
Block a user