mirror of
https://github.com/ppy/osu
synced 2025-01-01 11:52:20 +00:00
Handle paused state correctly
This commit is contained in:
parent
4f0c0ea5f9
commit
585b857a0c
@ -220,10 +220,12 @@ namespace osu.Game.Screens.Edit
|
||||
|
||||
if (IsSeeking)
|
||||
{
|
||||
bool isPaused = track.Value?.IsRunning != true;
|
||||
|
||||
// we are either running a seek tween or doing an immediate seek.
|
||||
// in the case of an immediate seek the seeking bool will be set to false after one update.
|
||||
// this allows for silencing hit sounds and the likes.
|
||||
IsSeeking = Transforms.Any();
|
||||
IsSeeking = isPaused || Transforms.Any();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user