Changed control points set to private; Cleanup

This commit is contained in:
TacoGuyAT 2022-07-21 07:25:44 +03:00
parent d6c3a52494
commit 2f16174d3d
2 changed files with 2 additions and 5 deletions

View File

@ -28,8 +28,8 @@ namespace osu.Game.Graphics.Containers
public class BeatSyncedContainer : Container
{
private int lastBeat;
protected TimingControlPoint LastTimingPoint;
protected EffectControlPoint LastEffectPoint;
protected TimingControlPoint LastTimingPoint { get; private set; }
protected EffectControlPoint LastEffectPoint { get; private set; }
/// <summary>
/// The amount of time before a beat we should fire <see cref="OnNewBeat(int, TimingControlPoint, EffectControlPoint, ChannelAmplitudes)"/>.

View File

@ -388,9 +388,6 @@ namespace osu.Game.Screens.Menu
protected override bool OnClick(ClickEvent e)
{
//triangles.AccentColours = this.FindClosestParent<MainMenu>()!.GetBackgroundColours(2).Select(x => Graphics.Backgrounds.Triangles.InRange(x, 0)).ToArray();
//background.Colour = this.FindClosestParent<MainMenu>()!.GetBackgroundColours()[0];
if (Action?.Invoke() ?? true)
sampleClick.Play();