mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Expose WaitingOnFrames as mutable bindable
This commit is contained in:
parent
575ec7c528
commit
63a9484255
@ -164,8 +164,7 @@ namespace osu.Game.Tests.OnlinePlay
|
||||
|
||||
private class TestSlaveClock : TestManualClock, ISlaveClock
|
||||
{
|
||||
public readonly Bindable<bool> WaitingOnFrames = new Bindable<bool>(true);
|
||||
IBindable<bool> ISlaveClock.WaitingOnFrames => WaitingOnFrames;
|
||||
public Bindable<bool> WaitingOnFrames { get; } = new Bindable<bool>(true);
|
||||
|
||||
public bool IsCatchingUp { get; set; }
|
||||
|
||||
|
@ -74,7 +74,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate.Sync
|
||||
|
||||
public FrameTimeInfo TimeInfo => new FrameTimeInfo { Elapsed = ElapsedFrameTime, Current = CurrentTime };
|
||||
|
||||
public IBindable<bool> WaitingOnFrames { get; } = new Bindable<bool>(true);
|
||||
public Bindable<bool> WaitingOnFrames { get; } = new Bindable<bool>(true);
|
||||
|
||||
public bool IsCatchingUp { get; set; }
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ namespace osu.Game.Screens.OnlinePlay.Multiplayer.Spectate.Sync
|
||||
/// <summary>
|
||||
/// Whether this clock is waiting on frames to continue playback.
|
||||
/// </summary>
|
||||
IBindable<bool> WaitingOnFrames { get; }
|
||||
Bindable<bool> WaitingOnFrames { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether this clock is resynchronising to the master clock.
|
||||
|
Loading…
Reference in New Issue
Block a user