mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 05:02:55 +08:00
Cache GameplayClockContainer
to allow usage of OnSeek
This commit is contained in:
parent
0e4e916388
commit
110749205d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user