Allow basic timeline selection temporal movement

This commit is contained in:
Dean Herbert
2020-01-22 21:37:06 +09:00
parent cb6e7425ae
commit 53bdf72592
2 changed files with 10 additions and 1 deletions

View File

@ -173,7 +173,7 @@ namespace osu.Game.Screens.Edit.Compose.Components.Timeline
[Resolved]
private EditorBeatmap beatmap { get; set; }
public (Vector2 position, double time) GetSnappedPosition(Vector2 position, double time) => (position, time);
public (Vector2 position, double time) GetSnappedPosition(Vector2 position, double time) => (position, (position.X / Content.DrawWidth) * track.Length);
public float GetBeatSnapDistanceAt(double referenceTime)
{