Rename SliderBall flag

This commit is contained in:
smoogipoo 2021-02-10 18:53:23 +09:00
parent a16f4cee3a
commit 6bf40170db
2 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ public void ApplyToDrawableHitObjects(IEnumerable<DrawableHitObject> drawables)
switch (obj) switch (obj)
{ {
case DrawableSlider slider: case DrawableSlider slider:
slider.Ball.TrackVisualSize = !FixedFollowCircleHitArea.Value; slider.Ball.InputTracksVisualSize = !FixedFollowCircleHitArea.Value;
break; break;
case DrawableSliderHead head: case DrawableSliderHead head:

View File

@ -35,7 +35,7 @@ public Color4 AccentColour
/// Whether to track accurately to the visual size of this <see cref="SliderBall"/>. /// Whether to track accurately to the visual size of this <see cref="SliderBall"/>.
/// If <c>false</c>, tracking will be performed at the final scale at all times. /// If <c>false</c>, tracking will be performed at the final scale at all times.
/// </summary> /// </summary>
public bool TrackVisualSize = true; public bool InputTracksVisualSize = true;
private readonly Drawable followCircle; private readonly Drawable followCircle;
private readonly DrawableSlider drawableSlider; private readonly DrawableSlider drawableSlider;
@ -100,7 +100,7 @@ private set
tracking = value; tracking = value;
if (TrackVisualSize) if (InputTracksVisualSize)
followCircle.ScaleTo(tracking ? 2.4f : 1f, 300, Easing.OutQuint); followCircle.ScaleTo(tracking ? 2.4f : 1f, 300, Easing.OutQuint);
else else
{ {