mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Rename parameter to read better
This commit is contained in:
@ -110,10 +110,10 @@ namespace osu.Game.Beatmaps
|
||||
|
||||
public Track LoadTrack() => track = GetBeatmapTrack() ?? GetVirtualTrack(1000);
|
||||
|
||||
public void PrepareTrackForPreview(bool looping, int priorToPreview = 0)
|
||||
public void PrepareTrackForPreview(bool looping, double offsetFromPreviewPoint = 0)
|
||||
{
|
||||
Track.Looping = looping;
|
||||
Track.RestartPoint = Metadata.PreviewTime - priorToPreview;
|
||||
Track.RestartPoint = Metadata.PreviewTime - offsetFromPreviewPoint;
|
||||
|
||||
if (Track.RestartPoint == -1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user