Rename TimelineHitObjectDisplay to TimelineBlueprintContainer

This commit is contained in:
Dean Herbert 2020-01-23 12:17:46 +09:00
parent 9d2a46df89
commit 477e1b7d27
3 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ namespace osu.Game.Tests.Visual.Editor
public override IReadOnlyList<Type> RequiredTypes => new[]
{
typeof(TimelineArea),
typeof(TimelineHitObjectDisplay),
typeof(TimelineBlueprintContainer),
typeof(Timeline),
typeof(TimelineButton),
typeof(CentreMarker)
@ -57,7 +57,7 @@ namespace osu.Game.Tests.Visual.Editor
},
new TimelineArea
{
Child = new TimelineHitObjectDisplay(editorBeatmap),
Child = new TimelineBlueprintContainer(editorBeatmap),
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.X,

View File

@ -18,11 +18,11 @@ using osuTK.Graphics;
namespace osu.Game.Screens.Edit.Compose.Components.Timeline
{
internal class TimelineHitObjectDisplay : BlueprintContainer
internal class TimelineBlueprintContainer : BlueprintContainer
{
private DragEvent lastDragEvent;
public TimelineHitObjectDisplay(EditorBeatmap beatmap)
public TimelineBlueprintContainer(EditorBeatmap beatmap)
{
RelativeSizeAxes = Axes.Both;
Anchor = Anchor.Centre;

View File

@ -32,6 +32,6 @@ namespace osu.Game.Screens.Edit.Compose
return beatmapSkinProvider.WithChild(rulesetSkinProvider.WithChild(composer));
}
protected override Drawable CreateTimelineContent() => composer == null ? base.CreateTimelineContent() : new TimelineHitObjectDisplay(EditorBeatmap);
protected override Drawable CreateTimelineContent() => composer == null ? base.CreateTimelineContent() : new TimelineBlueprintContainer(EditorBeatmap);
}
}