mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:02:59 +08:00
Fix smoogipoo's comments
This commit is contained in:
parent
0ca703beaa
commit
127f0d7b01
@ -27,7 +27,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <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 @@ namespace osu.Game.Screens.Edit
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <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)
|
||||||
|
Loading…
Reference in New Issue
Block a user