mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 18:42:56 +08:00
Reorder parameter for consistency
This commit is contained in:
parent
48b421b4b4
commit
f3fddcc82c
@ -92,7 +92,7 @@ namespace osu.Game.Rulesets.UI.Scrolling.Visualisers
|
||||
/// <param name="timeRange">The amount of time visualised by the scrolling area.</param>
|
||||
/// <returns>The position of <paramref name="obj"/> in the scrolling area at time = <paramref name="time"/>.</returns>
|
||||
private double hitObjectPositionAt(DrawableHitObject obj, double time, double timeRange)
|
||||
=> (obj.HitObject.StartTime - time) * controlPointAt(obj.HitObject.StartTime).Multiplier / timeRange;
|
||||
=> (obj.HitObject.StartTime - time) / timeRange * controlPointAt(obj.HitObject.StartTime).Multiplier;
|
||||
|
||||
private readonly MultiplierControlPoint searchPoint = new MultiplierControlPoint();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user