1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 11:42:56 +08:00

Use AddRange instead

This commit is contained in:
iiSaLMaN 2019-11-24 02:08:36 +03:00
parent 1e24ee7956
commit 0f9978b34a

View File

@ -46,7 +46,7 @@ namespace osu.Game.Skinning
set => comboColours = value.ToList();
}
public void AddComboColours(params Color4[] colours) => colours.ForEach(c => comboColours.Add(c));
public void AddComboColours(params Color4[] colours) => comboColours.AddRange(colours);
public Dictionary<string, Color4> CustomColours { get; set; } = new Dictionary<string, Color4>();