mirror of
https://github.com/ppy/osu.git
synced 2024-11-14 15:17:27 +08:00
Merge pull request #29231 from peppy/timeline-break-behind-objects
Show breaks behind objects in timeline
This commit is contained in:
commit
7bf96ce49a
@ -69,19 +69,24 @@ namespace osu.Game.Screens.Edit.Compose
|
||||
if (ruleset == null || composer == null)
|
||||
return base.CreateTimelineContent();
|
||||
|
||||
return wrapSkinnableContent(new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new TimelineBlueprintContainer(composer),
|
||||
new TimelineBreakDisplay
|
||||
TimelineBreakDisplay breakDisplay = new TimelineBreakDisplay
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.CentreLeft,
|
||||
Height = 0.75f,
|
||||
},
|
||||
};
|
||||
|
||||
return wrapSkinnableContent(new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Children = new[]
|
||||
{
|
||||
// We want to display this below hitobjects to better expose placement objects visually.
|
||||
// It needs to be above the blueprint container to handle drags on breaks though.
|
||||
breakDisplay.CreateProxy(),
|
||||
new TimelineBlueprintContainer(composer),
|
||||
breakDisplay
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user