1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 04:47:24 +08:00

Fix pause tests

This commit is contained in:
Dean Herbert 2019-04-22 17:06:01 +09:00
parent 9d3d1fd10b
commit 908eee9942
2 changed files with 6 additions and 1 deletions

View File

@ -68,7 +68,12 @@ namespace osu.Game.Rulesets.UI
{
Cursor = CreateCursor();
if (Cursor != null)
{
// initial showing of the cursor will be handed by MenuCursorContainer (via DrawableRuleset's IProvideCursor implementation).
Cursor.Hide();
AddInternal(Cursor);
}
}
/// <summary>

View File

@ -123,7 +123,7 @@ namespace osu.Game.Screens.Play
{
// Seeking the decoupled clock to its current time ensures that its source clock will be seeked to the same time
// This accounts for the audio clock source potentially taking time to enter a completely stopped state
adjustableClock.Seek(adjustableClock.CurrentTime);
adjustableClock.Seek(GameplayClock.CurrentTime);
adjustableClock.Start();
IsPaused.Value = false;
}