Fetch listing only once; Reenable disabled links as they wont be regenerated

This commit is contained in:
HoutarouOreki
2018-07-24 21:42:25 +02:00
parent 08a291f0d4
commit 43a7b3a825
2 changed files with 31 additions and 13 deletions

View File

@ -171,7 +171,13 @@ namespace osu.Game.Overlays.Changelog
Direction = FillDirection.Vertical,
},
};
clickableText.Action += () => clickableText.IsEnabled = false;
// we may not want double clicks to make it double the work
clickableText.Action += () =>
{
clickableText.IsEnabled = false;
Scheduler.AddDelayed(() => clickableText.IsEnabled = true, 2000);
};
}
public void UpdateChevronTooltips(string previousVersion, string nextVersion)