mirror of
https://github.com/ppy/osu
synced 2025-01-06 14:20:03 +00:00
Remove unused method
This commit is contained in:
parent
d9281ac8c7
commit
3c8f387a6c
@ -238,16 +238,6 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
return false;
|
||||
}
|
||||
|
||||
private void cycle(int direction)
|
||||
{
|
||||
var presets = beatDivisor.ValidDivisors.Value.Presets;
|
||||
|
||||
int selectedIndex = presets.Count(e => e < beatDivisor.Value);
|
||||
int newIndex = Math.Clamp(selectedIndex + direction, 0, presets.Count - 1);
|
||||
|
||||
beatDivisor.Value = presets[newIndex];
|
||||
}
|
||||
|
||||
public void OnReleased(KeyBindingReleaseEvent<GlobalAction> e)
|
||||
{
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user