Remove unused method

This commit is contained in:
Bartłomiej Dach 2023-06-07 23:28:36 +02:00
parent d9281ac8c7
commit 3c8f387a6c
No known key found for this signature in database

View File

@ -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)
{
}