1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-12 15:22:55 +08:00

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 @@ namespace osu.Game.Screens.Menu
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 @@ namespace osu.Game.Screens.Menu
{ {
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 @@ namespace osu.Game.Screens
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;
} }