mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:07:44 +08:00
Adjust monthsPerTick value
This commit is contained in:
parent
e6c116f0ab
commit
f07f8089d6
@ -140,8 +140,12 @@ namespace osu.Game.Overlays.Profile.Sections.Historical
|
||||
|
||||
int monthsPerTick = 1;
|
||||
|
||||
if (totalMonths > 20)
|
||||
monthsPerTick = totalMonths / 10;
|
||||
if (totalMonths > 80)
|
||||
monthsPerTick = 12;
|
||||
else if (totalMonths >= 45)
|
||||
monthsPerTick = 3;
|
||||
else if (totalMonths > 20)
|
||||
monthsPerTick = 2;
|
||||
|
||||
for (int i = 0; i < totalMonths; i += monthsPerTick)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user