mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix display start time in sequential scroll algorithm
This commit is contained in:
@ -22,8 +22,7 @@ namespace osu.Game.Rulesets.UI.Scrolling.Algorithms
|
|||||||
|
|
||||||
public double GetDisplayStartTime(double originTime, float offset, double timeRange, float scrollLength)
|
public double GetDisplayStartTime(double originTime, float offset, double timeRange, float scrollLength)
|
||||||
{
|
{
|
||||||
double adjustedTime = TimeAt(-offset, originTime, timeRange, scrollLength);
|
return TimeAt(-(scrollLength + offset), originTime, timeRange, scrollLength);
|
||||||
return adjustedTime - timeRange - 1000;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public float GetLength(double startTime, double endTime, double timeRange, float scrollLength)
|
public float GetLength(double startTime, double endTime, double timeRange, float scrollLength)
|
||||||
|
Reference in New Issue
Block a user