1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-28 17:10:12 +08: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:
Dan Balasescu
2020-10-06 19:28:28 +09:00
committed by GitHub
Unverified
+1 -1
View File
@@ -86,7 +86,7 @@ namespace osu.Game.Screens.Edit
/// </summary>
/// <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>
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>
/// Seeks forwards by one beat length.