Remove unused `OsuLogo.BeatMatching`

This commit is contained in:
Dean Herbert 2021-07-15 15:11:42 +09:00
parent 98a1f40a98
commit d0fc258886
2 changed files with 0 additions and 5 deletions

View File

@ -72,8 +72,6 @@ public bool Triangles
set => colourAndTriangles.FadeTo(value ? 1 : 0, transition_length, Easing.OutQuint); set => colourAndTriangles.FadeTo(value ? 1 : 0, transition_length, Easing.OutQuint);
} }
public bool BeatMatching = true;
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => logoContainer.ReceivePositionalInputAt(screenSpacePos); public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => logoContainer.ReceivePositionalInputAt(screenSpacePos);
public bool Ripple public bool Ripple
@ -272,8 +270,6 @@ protected override void OnNewBeat(int beatIndex, TimingControlPoint timingPoint,
{ {
base.OnNewBeat(beatIndex, timingPoint, effectPoint, amplitudes); base.OnNewBeat(beatIndex, timingPoint, effectPoint, amplitudes);
if (!BeatMatching) return;
lastBeatIndex = beatIndex; lastBeatIndex = beatIndex;
var beatLength = timingPoint.BeatLength; var beatLength = timingPoint.BeatLength;

View File

@ -242,7 +242,6 @@ public static void ApplyLogoArrivingDefaults(OsuLogo logo)
logo.Anchor = Anchor.TopLeft; logo.Anchor = Anchor.TopLeft;
logo.Origin = Anchor.Centre; logo.Origin = Anchor.Centre;
logo.RelativePositionAxes = Axes.Both; logo.RelativePositionAxes = Axes.Both;
logo.BeatMatching = true;
logo.Triangles = true; logo.Triangles = true;
logo.Ripple = true; logo.Ripple = true;
} }