1
0
mirror of https://github.com/ppy/osu.git synced 2026-06-02 06:49:54 +08:00

Changed control points set to private; Cleanup

This commit is contained in:
TacoGuyAT
2022-07-21 07:25:44 +03:00
Unverified
parent d6c3a52494
commit 2f16174d3d
2 changed files with 2 additions and 5 deletions
@@ -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)"/>.
-3
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();