mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 05:53:10 +08: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;
|
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)
|
public void OnReleased(KeyBindingReleaseEvent<GlobalAction> e)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user