mirror of
https://github.com/ppy/osu.git
synced 2025-01-18 05:42:56 +08:00
Fix substring of GetHashCode
potentially failing
This commit is contained in:
parent
e871f02350
commit
0b764e6372
@ -206,7 +206,7 @@ namespace osu.Game.Screens.SelectV2
|
||||
|
||||
updateSelection();
|
||||
|
||||
void log(string text) => Logger.Log($"Carousel[op {cts.GetHashCode().ToString().Substring(0, 5)}] {stopwatch.ElapsedMilliseconds} ms: {text}");
|
||||
void log(string text) => Logger.Log($"Carousel[op {cts.GetHashCode().ToString()}] {stopwatch.ElapsedMilliseconds} ms: {text}");
|
||||
}
|
||||
|
||||
private async Task updateYPositions(IEnumerable<CarouselItem> carouselItems, CancellationToken cancellationToken) => await Task.Run(() =>
|
||||
|
Loading…
Reference in New Issue
Block a user