1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 16:12:54 +08:00

Change FrameStableClock to inherit IGameplayClock

This commit is contained in:
Dean Herbert 2022-09-08 18:23:54 +09:00
parent 5c2fb3e434
commit 6729bb3e1a
3 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ namespace osu.Game.Rulesets.UI
/// </summary>
[Cached(typeof(IGameplayClock))]
[Cached(typeof(IFrameStableClock))]
public sealed class FrameStabilityContainer : Container, IHasReplayHandler, IFrameStableClock, IGameplayClock
public sealed class FrameStabilityContainer : Container, IHasReplayHandler, IFrameStableClock
{
public ReplayInputHandler? ReplayInputHandler { get; set; }

View File

@ -2,11 +2,11 @@
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Framework.Timing;
using osu.Game.Screens.Play;
namespace osu.Game.Rulesets.UI
{
public interface IFrameStableClock : IFrameBasedClock
public interface IFrameStableClock : IGameplayClock
{
IBindable<bool> IsCatchingUp { get; }

View File

@ -207,7 +207,7 @@ namespace osu.Game.Rulesets.UI
public bool OnPressed(KeyBindingPressEvent<T> e)
{
calculator.AddTimestamp();
calculator.AddInputTimestamp();
return false;
}