Rename methods to match generally how these find-methods are named elsewhere

This commit is contained in:
Dean Herbert
2021-04-28 16:57:52 +09:00
parent 48d6c9ac4b
commit f3c7694eeb
4 changed files with 10 additions and 10 deletions

View File

@ -301,7 +301,7 @@ namespace osu.Game.Screens.Edit
return list.Count - 1;
}
public double SnapTime(double time, double? referenceTime) => ControlPointInfo.ClosestSnapTime(time, BeatDivisor, referenceTime);
public double SnapTime(double time, double? referenceTime) => ControlPointInfo.GetClosestSnappedTime(time, BeatDivisor, referenceTime);
public double GetBeatLengthAtTime(double referenceTime) => ControlPointInfo.TimingPointAt(referenceTime).BeatLength / BeatDivisor;