mirror of
https://github.com/ppy/osu
synced 2024-12-17 04:15:37 +00:00
Merge branch 'master' into fix-hold-for-menu-icon
This commit is contained in:
commit
8fc0bf24c7
@ -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>
|
||||
|
@ -110,11 +110,8 @@ namespace osu.Game.Screens.Play
|
||||
adjustableClock.ChangeSource(sourceClock);
|
||||
updateRate();
|
||||
|
||||
this.Delay(750).Schedule(() =>
|
||||
{
|
||||
if (!IsPaused.Value)
|
||||
Start();
|
||||
});
|
||||
if (!IsPaused.Value)
|
||||
Start();
|
||||
});
|
||||
});
|
||||
}
|
||||
@ -123,7 +120,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);
|
||||
Seek(GameplayClock.CurrentTime);
|
||||
adjustableClock.Start();
|
||||
IsPaused.Value = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user