mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Update with framework changes.
This commit is contained in:
@ -19,7 +19,7 @@ namespace osu.Game.Rulesets.Mania.Timing.Drawables
|
||||
// The gravity-adjusted start position
|
||||
float startY = (float)computeGravityTime(TimingChange.Time);
|
||||
// The gravity-adjusted end position
|
||||
float endY = (float)computeGravityTime(TimingChange.Time + Content.RelativeCoordinateSpace.Y);
|
||||
float endY = (float)computeGravityTime(TimingChange.Time + Content.RelativeCoordinateSpace.Height);
|
||||
|
||||
Content.Y = startY;
|
||||
Content.Height = endY - startY;
|
||||
@ -43,7 +43,7 @@ namespace osu.Game.Rulesets.Mania.Timing.Drawables
|
||||
/// <summary>
|
||||
/// The time spanned by this container.
|
||||
/// </summary>
|
||||
private double timeSpan => RelativeCoordinateSpace.Y;
|
||||
private double timeSpan => RelativeCoordinateSpace.Height;
|
||||
|
||||
/// <summary>
|
||||
/// The acceleration due to "gravity" of the content of this container.
|
||||
|
@ -25,7 +25,7 @@ namespace osu.Game.Rulesets.Mania.Timing.Drawables
|
||||
|
||||
// This is very naive and can be improved, but is adequate for now
|
||||
LifetimeStart = TimingChange.Time - parent.TimeSpan.Y;
|
||||
LifetimeEnd = TimingChange.Time + Content.RelativeCoordinateSpace.Y * 2;
|
||||
LifetimeEnd = TimingChange.Time + Content.RelativeCoordinateSpace.Height * 2;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user