mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Bring framework up-to-date
This commit is contained in:
@ -55,7 +55,7 @@ namespace osu.Game.Rulesets.Mania.Objects.Drawables
|
||||
tickContainer = new Container<DrawableHoldNoteTick>
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
RelativeCoordinateSpace = new Vector2(1, (float)HitObject.Duration)
|
||||
RelativeChildSize = new Vector2(1, (float)HitObject.Duration)
|
||||
},
|
||||
head = new DrawableHeadNote(this, key)
|
||||
{
|
||||
|
@ -97,7 +97,7 @@ namespace osu.Game.Rulesets.Mania.Timing
|
||||
|
||||
// Adjust our height to account for the speed changes
|
||||
Height = (float)(1000 / timingChange.BeatLength / timingChange.SpeedMultiplier);
|
||||
RelativeCoordinateSpace = new Vector2(1, (float)parent.TimeSpan);
|
||||
RelativeChildSize = new Vector2(1, (float)parent.TimeSpan);
|
||||
|
||||
// Scroll the content
|
||||
content.Y = (float)(timingChange.Time - Time.Current);
|
||||
@ -146,7 +146,7 @@ namespace osu.Game.Rulesets.Mania.Timing
|
||||
float height = Children.Select(child => child.Y + child.Height).Max();
|
||||
|
||||
Height = height;
|
||||
RelativeCoordinateSpace = new Vector2(1, height);
|
||||
RelativeChildSize = new Vector2(1, height);
|
||||
|
||||
base.InvalidateFromChild(invalidation);
|
||||
}
|
||||
|
Reference in New Issue
Block a user