From db5c2efa157fe4f7628f48864136cfe94edf814c Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 13 Dec 2016 18:12:35 +0900 Subject: [PATCH] Rename tracking variable and change conditional as per feedback. --- osu.Game.Modes.Osu/Objects/Drawables/Pieces/SliderBall.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game.Modes.Osu/Objects/Drawables/Pieces/SliderBall.cs b/osu.Game.Modes.Osu/Objects/Drawables/Pieces/SliderBall.cs index 89df67757c..0df80984bb 100644 --- a/osu.Game.Modes.Osu/Objects/Drawables/Pieces/SliderBall.cs +++ b/osu.Game.Modes.Osu/Objects/Drawables/Pieces/SliderBall.cs @@ -98,14 +98,14 @@ namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces } } - private bool validTrackingTime => Time.Current >= slider.StartTime && Time.Current <= slider.EndTime; + private bool canCurrentlyTrack => Time.Current >= slider.StartTime && Time.Current < slider.EndTime; protected override void Update() { base.Update(); CornerRadius = DrawWidth / 2; - Tracking = validTrackingTime && lastState != null && Contains(lastState.Mouse.NativeState.Position) && lastState.Mouse.HasMainButtonPressed; + Tracking = canCurrentlyTrack && lastState != null && Contains(lastState.Mouse.NativeState.Position) && lastState.Mouse.HasMainButtonPressed; } public void UpdateProgress(double progress, int repeat)