Cache `GameplayClockContainer` to allow usage of `OnSeek`

This commit is contained in:
Dean Herbert 2023-12-13 16:13:08 +09:00
parent 0e4e916388
commit 110749205d
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ namespace osu.Game.Screens.Play
/// Encapsulates gameplay timing logic and provides a <see cref="IGameplayClock"/> via DI for gameplay components to use.
/// </summary>
[Cached(typeof(IGameplayClock))]
[Cached(typeof(GameplayClockContainer))]
public partial class GameplayClockContainer : Container, IAdjustableClock, IGameplayClock
{
public IBindable<bool> IsPaused => isPaused;