diff --git a/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableGravityTimingChange.cs b/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableGravityTimingChange.cs index 4867abdfae..11feb9385e 100644 --- a/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableGravityTimingChange.cs +++ b/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableGravityTimingChange.cs @@ -49,10 +49,10 @@ namespace osu.Game.Rulesets.Mania.Timing.Drawables private double acceleration => 1 / timeSpan; /// - /// Computes the current time relative to , accounting for . + /// Computes the current time relative to , accounting for . /// /// The non-offset time. - /// The current time relative to - . + /// The current time relative to - . private double relativeTimeAt(double time) => Time.Current - time + timeSpan; } } \ No newline at end of file diff --git a/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableTimingChange.cs b/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableTimingChange.cs index 80e12bd757..9d7f0a95bf 100644 --- a/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableTimingChange.cs +++ b/osu.Game.Rulesets.Mania/Timing/Drawables/DrawableTimingChange.cs @@ -4,11 +4,11 @@ using System; using System.Collections.Generic; using System.Linq; -using OpenTK; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets.Objects.Drawables; +using OpenTK; namespace osu.Game.Rulesets.Mania.Timing.Drawables { @@ -63,8 +63,8 @@ namespace osu.Game.Rulesets.Mania.Timing.Drawables Size = new Vector2((scrollingAxes & Axes.X) > 0 ? speedAdjustedSize : 1, (scrollingAxes & Axes.Y) > 0 ? speedAdjustedSize : 1); - RelativeCoordinateSpace = new Vector2((scrollingAxes & Axes.X) > 0 ? (float)parent.TimeSpan.X : 1, - (scrollingAxes & Axes.Y) > 0 ? (float)parent.TimeSpan.Y : 1); + RelativeCoordinateSpace = new Vector2((scrollingAxes & Axes.X) > 0 ? parent.TimeSpan.X : 1, + (scrollingAxes & Axes.Y) > 0 ? parent.TimeSpan.Y : 1); } public override void Add(DrawableHitObject hitObject) @@ -96,8 +96,8 @@ namespace osu.Game.Rulesets.Mania.Timing.Drawables /// /// The axes which this container should calculate its size from its children on. - /// Note that this is not the same as , because that would not allow this container - /// to be relatively sized - desired in the case where the playfield re-defines . + /// Note that this is not the same as , because that would not allow this container + /// to be relatively sized - desired in the case where the playfield re-defines . /// /// public RelativeCoordinateAutoSizingContainer(Axes autoSizingAxes) @@ -120,8 +120,8 @@ namespace osu.Game.Rulesets.Mania.Timing.Drawables float height = Children.Select(child => child.Y + child.Height).Max(); float width = Children.Select(child => child.X + child.Width).Max(); - Size = new Vector2((autoSizingAxes & Axes.X) > 0 ? width : base.Size.X, - (autoSizingAxes & Axes.Y) > 0 ? height : base.Size.Y); + Size = new Vector2((autoSizingAxes & Axes.X) > 0 ? width : Size.X, + (autoSizingAxes & Axes.Y) > 0 ? height : Size.Y); RelativeCoordinateSpace = new Vector2((autoSizingAxes & Axes.X) > 0 ? width : 1, (autoSizingAxes & Axes.Y) > 0 ? height : 1);