mirror of https://github.com/ppy/osu
Rename SliderBall flag
This commit is contained in:
parent
a16f4cee3a
commit
6bf40170db
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue