TimelineContainer -> TimelineArea

This commit is contained in:
smoogipoo
2018-04-05 19:40:03 +09:00
parent a84536d343
commit d9e795fb9f
4 changed files with 10 additions and 10 deletions

View File

@ -16,9 +16,9 @@ namespace osu.Game.Tests.Visual
[TestFixture]
public class TestCaseEditorComposeTimeline : OsuTestCase
{
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(TimelineContainer), typeof(Timeline), typeof(BeatmapWaveformGraph), typeof(TimelineButton) };
public override IReadOnlyList<Type> RequiredTypes => new[] { typeof(TimelineArea), typeof(Timeline), typeof(BeatmapWaveformGraph), typeof(TimelineButton) };
private readonly TimelineContainer timelineContainer;
private readonly TimelineArea timelineArea;
public TestCaseEditorComposeTimeline()
{
@ -30,7 +30,7 @@ namespace osu.Game.Tests.Visual
Origin = Anchor.TopCentre,
State = Visibility.Visible
},
timelineContainer = new TimelineContainer
timelineArea = new TimelineArea
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
@ -43,7 +43,7 @@ namespace osu.Game.Tests.Visual
[BackgroundDependencyLoader]
private void load(OsuGameBase osuGame)
{
timelineContainer.Beatmap.BindTo(osuGame.Beatmap);
timelineArea.Beatmap.BindTo(osuGame.Beatmap);
}
}
}