Add tweening seek support to EditorClock

This commit is contained in:
Dean Herbert
2020-05-22 16:40:52 +09:00
parent dd09d7830d
commit d18eb663b1
8 changed files with 129 additions and 25 deletions

View File

@ -58,7 +58,7 @@ namespace osu.Game.Screens.Edit.Components.Timelines.Summary.Parts
return;
float markerPos = Math.Clamp(ToLocalSpace(screenPosition).X, 0, DrawWidth);
editorClock.Seek(markerPos / DrawWidth * editorClock.TrackLength);
editorClock.SeekTo(markerPos / DrawWidth * editorClock.TrackLength);
});
}