1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 08:22:56 +08:00

Remove unused variable

This commit is contained in:
Dean Herbert 2023-10-24 18:33:35 +09:00
parent 93147a5998
commit 176cb0dd28
No known key found for this signature in database

View File

@ -4,7 +4,6 @@
#nullable disable #nullable disable
using System.Diagnostics; using System.Diagnostics;
using JetBrains.Annotations;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Game.Rulesets.Osu.UI; using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.Scoring; using osu.Game.Rulesets.Scoring;
@ -15,9 +14,6 @@ namespace osu.Game.Rulesets.Osu.Objects.Drawables
{ {
public new SliderHeadCircle HitObject => (SliderHeadCircle)base.HitObject; public new SliderHeadCircle HitObject => (SliderHeadCircle)base.HitObject;
[CanBeNull]
public Slider Slider => DrawableSlider?.HitObject;
public DrawableSlider DrawableSlider => (DrawableSlider)ParentHitObject; public DrawableSlider DrawableSlider => (DrawableSlider)ParentHitObject;
public override bool DisplayResult => HitObject?.JudgeAsNormalHitCircle ?? base.DisplayResult; public override bool DisplayResult => HitObject?.JudgeAsNormalHitCircle ?? base.DisplayResult;