mirror of
https://github.com/ppy/osu.git
synced 2025-01-07 20:03:13 +08:00
Show breaks behind objects in timeline
Closes https://github.com/ppy/osu/issues/29227.
This commit is contained in:
parent
cd28fa7325
commit
548fd9cbf9
@ -69,19 +69,24 @@ namespace osu.Game.Screens.Edit.Compose
|
|||||||
if (ruleset == null || composer == null)
|
if (ruleset == null || composer == null)
|
||||||
return base.CreateTimelineContent();
|
return base.CreateTimelineContent();
|
||||||
|
|
||||||
return wrapSkinnableContent(new Container
|
TimelineBreakDisplay breakDisplay = new TimelineBreakDisplay
|
||||||
{
|
|
||||||
RelativeSizeAxes = Axes.Both,
|
|
||||||
Children = new Drawable[]
|
|
||||||
{
|
|
||||||
new TimelineBlueprintContainer(composer),
|
|
||||||
new TimelineBreakDisplay
|
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Height = 0.75f,
|
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