mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Use value tuples
This commit is contained in:
@ -64,7 +64,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
float maxLength = MaxValue ?? value.Max();
|
||||
|
||||
foreach (var bar in value.Select((length, index) => new { Value = length, Index = index }))
|
||||
foreach (var bar in value.Select((length, index) => (Value: length, Index: index)))
|
||||
{
|
||||
float length = maxLength == 0 ? 0 : Math.Max(0f, bar.Value / maxLength);
|
||||
|
||||
|
Reference in New Issue
Block a user