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:
parent
c85b04bca5
commit
bccc797bcb
@ -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";
|
||||
|
@ -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 },
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user