Skip to content

Commit

Permalink
Minor cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
LumpBloom7 committed Jul 24, 2023
1 parent e665fc5 commit 9815a97
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions osu.Game.Rulesets.Sentakki/Edit/SlideEditorToolboxGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
using osuTK.Input;
using System;


namespace osu.Game.Rulesets.Sentakki.Edit;

[Cached]
Expand Down Expand Up @@ -82,7 +81,6 @@ public void RequestLaneChange(int newLane)
}
}


protected override bool OnKeyDown(KeyDownEvent e)
{
switch (e.Key)
Expand Down Expand Up @@ -137,11 +135,8 @@ public ShootDelayCounter() : base("Shoot delay", @"{0:0.##} beats")
{
}



protected override void OnLeftButtonPressed() => Current.Value = Math.Max(0, Current.Value - 1f / beatSnapProvider.BeatDivisor);

protected override void OnRightButtonPressed() => Current.Value += 1f / beatSnapProvider.BeatDivisor;
}

}
2 changes: 0 additions & 2 deletions osu.Game.Rulesets.Sentakki/Edit/Toolbox/ExpandableCheckbox.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using osuTK;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
Expand All @@ -8,7 +7,6 @@
using osu.Game.Graphics.Sprites;
using osu.Framework.Allocation;
using osu.Game.Graphics.UserInterface;
using osu.Framework.Input.Events;

namespace osu.Game.Rulesets.Sentakki.Edit.Toolbox;
public partial class ExpandableCheckbox : CompositeDrawable, IExpandable, IHasCurrentValue<bool>
Expand Down

0 comments on commit 9815a97

Please sign in to comment.