General refactoring

This commit is contained in:
smoogipoo
2020-01-24 17:50:36 +09:00
parent 6fc6a376ee
commit 811ddb02a4
5 changed files with 9 additions and 8 deletions

View File

@ -23,7 +23,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
private DragEvent lastDragEvent;
public TimelineBlueprintContainer(EditorBeatmap beatmap)
public TimelineBlueprintContainer()
{
RelativeSizeAxes = Axes.Both;
Anchor = Anchor.Centre;
@ -39,14 +39,14 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
});
}
protected override Container<SelectionBlueprint> CreateSelectionBlueprintContainer() => new TimelineSelectionBlueprintContainer { RelativeSizeAxes = Axes.Both };
protected override void LoadComplete()
{
base.LoadComplete();
DragBox.Alpha = 0;
}
protected override Container<SelectionBlueprint> CreateSelectionBlueprintContainer() => new TimelineSelectionBlueprintContainer { RelativeSizeAxes = Axes.Both };
protected override void OnDrag(DragEvent e)
{
if (timeline != null)