Name tuple items

This commit is contained in:
Dean Herbert 2019-09-02 18:20:30 +09:00
parent 9c53430a0f
commit f08b523abf

View File

@ -16,7 +16,7 @@ namespace osu.Game.Skinning
{
private readonly ISampleInfo[] hitSamples;
private List<(AdjustableProperty, BindableDouble)> adjustments;
private List<(AdjustableProperty property, BindableDouble bindable)> adjustments;
private SampleChannel[] channels;
@ -88,7 +88,7 @@ namespace osu.Game.Skinning
if (adjustments != null)
foreach (var adjustment in adjustments)
ch.AddAdjustment(adjustment.Item1, adjustment.Item2);
ch.AddAdjustment(adjustment.property, adjustment.bindable);
}
return ch;