mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 03:19:55 +08:00
Add debounce to difficulty calculation operations in churn scenarios
This commit is contained in:
@@ -125,7 +125,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
public StarDifficulty? Difficulty { get; set; }
|
||||
|
||||
public override Task<StarDifficulty?> GetDifficultyAsync(IBeatmapInfo beatmapInfo, IRulesetInfo? rulesetInfo = null, IEnumerable<Mod>? mods = null,
|
||||
CancellationToken cancellationToken = default)
|
||||
CancellationToken cancellationToken = default, int computationDelay = 0)
|
||||
=> Task.FromResult(Difficulty);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user