mirror of
https://github.com/osukey/osukey.git
synced 2025-05-08 07:07:18 +09:00
Merge pull request #10393 from peppy/fix-editor-backwards-seek
Increase backwards seek magnitude when the track is running
This commit is contained in:
commit
77ccbb087c
@ -86,7 +86,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="snapped">Whether to snap to the closest beat after seeking.</param>
|
/// <param name="snapped">Whether to snap to the closest beat after seeking.</param>
|
||||||
/// <param name="amount">The relative amount (magnitude) which should be seeked.</param>
|
/// <param name="amount">The relative amount (magnitude) which should be seeked.</param>
|
||||||
public void SeekBackward(bool snapped = false, double amount = 1) => seek(-1, snapped, amount);
|
public void SeekBackward(bool snapped = false, double amount = 1) => seek(-1, snapped, amount + (IsRunning ? 1.5 : 0));
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Seeks forwards by one beat length.
|
/// Seeks forwards by one beat length.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user