1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 12:40:18 +08:00

Change JudgementCountController to a Component and remove handling overrides

This commit is contained in:
Dean Herbert
2023-06-27 16:39:21 +09:00
Unverified
parent 8bd6f7a46a
commit 41890cfc65
@@ -4,7 +4,7 @@
using System.Collections.Generic;
using osu.Framework.Bindables;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics;
namespace osu.Game.Screens.Play.HUD
{
@@ -12,7 +12,7 @@ namespace osu.Game.Screens.Play.HUD
/// Keeps track of key press counts for a current play session, exposing bindable counts which can
/// be used for display purposes.
/// </summary>
public partial class InputCountController : CompositeComponent
public partial class InputCountController : Component
{
public readonly Bindable<bool> IsCounting = new BindableBool(true);
@@ -29,8 +29,5 @@ namespace osu.Game.Screens.Play.HUD
triggers.Add(trigger);
trigger.IsCounting.BindTo(IsCounting);
}
public override bool HandleNonPositionalInput => true;
public override bool HandlePositionalInput => true;
}
}