mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
TimeRelativeContainer -> ControlPointContainer, optimize AutoTimeRelativeContainer a little bit (only recompute on invalidation).
This commit is contained in:
@ -40,7 +40,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
private readonly Container hitTargetBar;
|
||||
private readonly Container keyIcon;
|
||||
|
||||
public readonly TimeRelativeContainer TimingSectionContainer;
|
||||
public readonly ControlPointContainer TimingSectionContainer;
|
||||
|
||||
public Column(IEnumerable<ControlPoint> timingChanges)
|
||||
{
|
||||
@ -91,7 +91,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
}
|
||||
}
|
||||
},
|
||||
TimingSectionContainer = new TimeRelativeContainer(timingChanges)
|
||||
TimingSectionContainer = new ControlPointContainer(timingChanges)
|
||||
{
|
||||
Name = "Hit objects",
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
|
@ -56,7 +56,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
|
||||
public readonly FlowContainer<Column> Columns;
|
||||
|
||||
private readonly TimeRelativeContainer barlineContainer;
|
||||
private readonly ControlPointContainer barlineContainer;
|
||||
|
||||
private List<Color4> normalColumnColours = new List<Color4>();
|
||||
private Color4 specialColumnColour;
|
||||
@ -101,7 +101,7 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
Padding = new MarginPadding { Top = HIT_TARGET_POSITION },
|
||||
Children = new[]
|
||||
{
|
||||
barlineContainer = new TimeRelativeContainer(timingChanges)
|
||||
barlineContainer = new ControlPointContainer(timingChanges)
|
||||
{
|
||||
Name = "Bar lines",
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
|
Reference in New Issue
Block a user