mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 14:12:54 +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;
|
int monthsPerTick = 1;
|
||||||
|
|
||||||
if (totalMonths > 20)
|
if (totalMonths > 80)
|
||||||
monthsPerTick = totalMonths / 10;
|
monthsPerTick = 12;
|
||||||
|
else if (totalMonths >= 45)
|
||||||
|
monthsPerTick = 3;
|
||||||
|
else if (totalMonths > 20)
|
||||||
|
monthsPerTick = 2;
|
||||||
|
|
||||||
for (int i = 0; i < totalMonths; i += monthsPerTick)
|
for (int i = 0; i < totalMonths; i += monthsPerTick)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user