Fix beat snap implementation being incorrect

This commit is contained in:
Dean Herbert
2020-01-28 12:48:24 +09:00
parent 01cf417569
commit 58654f28b6
5 changed files with 13 additions and 11 deletions

View File

@ -348,7 +348,7 @@ namespace osu.Game.Screens.Edit
beatmapManager.Export(Beatmap.Value.BeatmapSetInfo);
}
public double SnapTime(double referenceTime, double duration) => editorBeatmap.SnapTime(referenceTime, duration);
public double SnapTime(double time, double? referenceTime) => editorBeatmap.SnapTime(time, referenceTime);
public double GetBeatLengthAtTime(double referenceTime) => editorBeatmap.GetBeatLengthAtTime(referenceTime);