Name tuple items

This commit is contained in:
Dean Herbert 2019-09-02 18:20:30 +09:00
parent 9c53430a0f
commit f08b523abf
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ public class SkinnableSound : SkinReloadableDrawable
{
private readonly ISampleInfo[] hitSamples;
private List<(AdjustableProperty, BindableDouble)> adjustments;
private List<(AdjustableProperty property, BindableDouble bindable)> adjustments;
private SampleChannel[] channels;
@ -88,7 +88,7 @@ protected override void SkinChanged(ISkinSource skin, bool allowFallback)
if (adjustments != null)
foreach (var adjustment in adjustments)
ch.AddAdjustment(adjustment.Item1, adjustment.Item2);
ch.AddAdjustment(adjustment.property, adjustment.bindable);
}
return ch;