Fix smoogipoo's comments

This commit is contained in:
Dean Herbert 2018-04-12 21:17:17 +09:00
parent 0ca703beaa
commit 127f0d7b01
1 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ public EditorClock(ControlPointInfo controlPointInfo, BindableBeatDivisor beatDi
} }
/// <summary> /// <summary>
/// Seek to the closest valid snap value. /// Seek to the closest snappable beat from a time.
/// </summary> /// </summary>
/// <param name="position">The raw position which should be seeked around.</param> /// <param name="position">The raw position which should be seeked around.</param>
/// <returns>Whether the seek could be performed.</returns> /// <returns>Whether the seek could be performed.</returns>
@ -53,15 +53,15 @@ public bool SeekSnapped(double position)
} }
/// <summary> /// <summary>
/// Seeks the current time one beat-snapped beat-length backwards. /// Seeks backwards by one beat length.
/// </summary> /// </summary>
/// <param name="snapped">Whether to snap to the closest beat.</param> /// <param name="snapped">Whether to snap to the closest beat after seeking.</param>
public void SeekBackward(bool snapped = false) => seek(-1, snapped); public void SeekBackward(bool snapped = false) => seek(-1, snapped);
/// <summary> /// <summary>
/// Seeks the current time one beat-snapped beat-length forwards. /// Seeks forwards by one beat length.
/// </summary> /// </summary>
/// <param name="snapped">Whether to snap to the closest beat.</param> /// <param name="snapped">Whether to snap to the closest beat after seeking.</param>
public void SeekForward(bool snapped = false) => seek(1, snapped); public void SeekForward(bool snapped = false) => seek(1, snapped);
private void seek(int direction, bool snapped) private void seek(int direction, bool snapped)