mirror of
https://github.com/ppy/osu.git
synced 2026-06-01 06:19:54 +08:00
Cache GameplayClockContainer to allow usage of OnSeek
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user