1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 14:17:26 +08:00

Move break display to background of summary timeline

This commit is contained in:
Dean Herbert 2024-08-20 17:45:37 +09:00
parent c85b04bca5
commit bccc797bcb
No known key found for this signature in database
2 changed files with 9 additions and 10 deletions

View File

@ -69,9 +69,9 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
RelativePositionAxes = Axes.X;
RelativeSizeAxes = Axes.Both;
InternalChild = new Circle { RelativeSizeAxes = Axes.Both };
Colour = colours.Gray7;
Alpha = 0.8f;
InternalChild = new Box { RelativeSizeAxes = Axes.Both };
Colour = colours.Gray5;
Alpha = 0.4f;
}
public LocalisableString TooltipText => $"{breakPeriod.StartTime.ToEditorFormattedString()} - {breakPeriod.EndTime.ToEditorFormattedString()} break time";

View File

@ -59,6 +59,12 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary
RelativeSizeAxes = Axes.Both,
Height = 0.4f,
},
new BreakPart
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
},
new ControlPointPart
{
Anchor = Anchor.Centre,
@ -73,13 +79,6 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary
RelativeSizeAxes = Axes.Both,
Height = 0.4f
},
new BreakPart
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
RelativeSizeAxes = Axes.Both,
Height = 0.15f
},
new MarkerPart { RelativeSizeAxes = Axes.Both },
};
}