mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 02:37:25 +09: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();
|
ClearInternal();
|
||||||
CurrentNumber.ValueChanged -= moveMarker;
|
CurrentNumber.ValueChanged -= moveMarker;
|
||||||
|
|
||||||
int largestDivisor = beatDivisor.ValidDivisors.Value.Presets.Max();
|
int largestDivisor = beatDivisor.ValidDivisors.Value.Presets.Last();
|
||||||
for (int tickIndex = 0; tickIndex <= largestDivisor; tickIndex++)
|
for (int tickIndex = 0; tickIndex <= largestDivisor; tickIndex++)
|
||||||
{
|
{
|
||||||
int divisor = BindableBeatDivisor.GetDivisorForBeatIndex(tickIndex, largestDivisor, (int[])beatDivisor.ValidDivisors.Value.Presets);
|
int divisor = BindableBeatDivisor.GetDivisorForBeatIndex(tickIndex, largestDivisor, (int[])beatDivisor.ValidDivisors.Value.Presets);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user