mirror of https://github.com/ppy/osu
Remove unused `OsuLogo.BeatMatching`
This commit is contained in:
parent
98a1f40a98
commit
d0fc258886
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue