mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Handle paused state correctly
This commit is contained in:
@ -220,10 +220,12 @@ namespace osu.Game.Screens.Edit
|
|||||||
|
|
||||||
if (IsSeeking)
|
if (IsSeeking)
|
||||||
{
|
{
|
||||||
|
bool isPaused = track.Value?.IsRunning != true;
|
||||||
|
|
||||||
// we are either running a seek tween or doing an immediate seek.
|
// 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.
|
// 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.
|
// this allows for silencing hit sounds and the likes.
|
||||||
IsSeeking = Transforms.Any();
|
IsSeeking = isPaused || Transforms.Any();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user