mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 00:02:54 +08:00
Remove useless container
This commit is contained in:
parent
a696bab82f
commit
9d90799447
@ -32,7 +32,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
protected DragBox DragBox { get; private set; }
|
||||
|
||||
private SelectionBlueprintContainer selectionBlueprints;
|
||||
private Container<SelectionBlueprint> selectionBlueprints;
|
||||
|
||||
private SelectionHandler selectionHandler;
|
||||
|
||||
@ -83,7 +83,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
};
|
||||
}
|
||||
|
||||
protected virtual SelectionBlueprintContainer CreateSelectionBlueprintContainer() => new SelectionBlueprintContainer { RelativeSizeAxes = Axes.Both };
|
||||
protected virtual Container<SelectionBlueprint> CreateSelectionBlueprintContainer() =>
|
||||
new Container<SelectionBlueprint> { RelativeSizeAxes = Axes.Both };
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
@ -430,10 +431,5 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
beatmap.HitObjectRemoved -= removeBlueprintFor;
|
||||
}
|
||||
}
|
||||
|
||||
protected class SelectionBlueprintContainer : Container<SelectionBlueprint>
|
||||
{
|
||||
//todo: remove
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
||||
});
|
||||
}
|
||||
|
||||
protected override SelectionBlueprintContainer CreateSelectionBlueprintContainer() => new TimelineSelectionBlueprintContainer { RelativeSizeAxes = Axes.Both };
|
||||
protected override Container<SelectionBlueprint> CreateSelectionBlueprintContainer() => new TimelineSelectionBlueprintContainer { RelativeSizeAxes = Axes.Both };
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
@ -130,7 +130,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
|
||||
}
|
||||
}
|
||||
|
||||
protected class TimelineSelectionBlueprintContainer : SelectionBlueprintContainer
|
||||
protected class TimelineSelectionBlueprintContainer : Container<SelectionBlueprint>
|
||||
{
|
||||
protected override Container<SelectionBlueprint> Content { get; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user