Use deconstruction declaration.

This commit is contained in:
Huo Yaoyuan
2019-11-12 18:19:48 +08:00
parent e5e8e70704
commit 0d81b96c5f
3 changed files with 6 additions and 6 deletions

View File

@ -96,8 +96,8 @@ namespace osu.Game.Skinning
if (adjustments != null)
{
foreach (var adjustment in adjustments)
ch.AddAdjustment(adjustment.property, adjustment.bindable);
foreach (var (property, bindable) in adjustments)
ch.AddAdjustment(property, bindable);
}
}