mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Replace Add/Reset methods with single Set
method
This commit is contained in:
@ -6,7 +6,6 @@ using System.Linq;
|
||||
using NUnit.Framework;
|
||||
using osu.Framework.Audio.Sample;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Extensions.IEnumerableExtensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.OpenGL.Textures;
|
||||
using osu.Framework.Graphics.Textures;
|
||||
@ -67,8 +66,7 @@ namespace osu.Game.Tests.Skins
|
||||
|
||||
protected override void OnSourceChanged()
|
||||
{
|
||||
ResetSources();
|
||||
sources.ForEach(AddSource);
|
||||
SetSources(sources);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user