mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 00:23:59 +09:00
Fix pause tests
This commit is contained in:
@ -68,7 +68,12 @@ namespace osu.Game.Rulesets.UI
|
|||||||
{
|
{
|
||||||
Cursor = CreateCursor();
|
Cursor = CreateCursor();
|
||||||
if (Cursor != null)
|
if (Cursor != null)
|
||||||
|
{
|
||||||
|
// initial showing of the cursor will be handed by MenuCursorContainer (via DrawableRuleset's IProvideCursor implementation).
|
||||||
|
Cursor.Hide();
|
||||||
|
|
||||||
AddInternal(Cursor);
|
AddInternal(Cursor);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -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
|
// 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
|
// 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();
|
adjustableClock.Start();
|
||||||
IsPaused.Value = false;
|
IsPaused.Value = false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user