1
0
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:
Dan Balasescu 2024-08-02 21:28:11 +09:00 committed by GitHub
commit 7bf96ce49a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}
});
}