mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Last
instead of Max
divisor to match code elsewhere
This commit is contained in:
parent
c5ef3ae181
commit
7fe19d1992
@ -398,7 +398,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
ClearInternal();
|
||||
CurrentNumber.ValueChanged -= moveMarker;
|
||||
|
||||
int largestDivisor = beatDivisor.ValidDivisors.Value.Presets.Max();
|
||||
int largestDivisor = beatDivisor.ValidDivisors.Value.Presets.Last();
|
||||
for (int tickIndex = 0; tickIndex <= largestDivisor; tickIndex++)
|
||||
{
|
||||
int divisor = BindableBeatDivisor.GetDivisorForBeatIndex(tickIndex, largestDivisor, (int[])beatDivisor.ValidDivisors.Value.Presets);
|
||||
|
Loading…
Reference in New Issue
Block a user