1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-30 07:32:55 +08:00

Remove explicit binding to accuracy counter from overlay

This commit is contained in:
Bartłomiej Dach 2021-05-08 21:38:03 +02:00
parent efb9164658
commit 67cea6e762
2 changed files with 0 additions and 5 deletions

View File

@ -1,15 +1,12 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text. // See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Skinning; using osu.Game.Skinning;
namespace osu.Game.Screens.Play.HUD namespace osu.Game.Screens.Play.HUD
{ {
public class SkinnableAccuracyCounter : SkinnableDrawable public class SkinnableAccuracyCounter : SkinnableDrawable
{ {
public Bindable<double> Current { get; } = new Bindable<double>();
public SkinnableAccuracyCounter() public SkinnableAccuracyCounter()
: base(new HUDSkinComponent(HUDSkinComponents.AccuracyCounter), _ => new DefaultAccuracyCounter()) : base(new HUDSkinComponent(HUDSkinComponents.AccuracyCounter), _ => new DefaultAccuracyCounter())
{ {

View File

@ -320,8 +320,6 @@ namespace osu.Game.Screens.Play
protected virtual void BindScoreProcessor(ScoreProcessor processor) protected virtual void BindScoreProcessor(ScoreProcessor processor)
{ {
AccuracyCounter?.Current.BindTo(processor.Accuracy);
if (HealthDisplay is IHealthDisplay shd) if (HealthDisplay is IHealthDisplay shd)
{ {
processor.NewJudgement += judgement => processor.NewJudgement += judgement =>