From 8f24ea54eeb2ee469af744aff0c2de3d8c4951bf Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Fri, 3 Sep 2021 16:16:40 +0900 Subject: [PATCH] Change `SamplePoints` to be `SortedList` for conformity --- osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.cs b/osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.cs index 4059cb7c01..c790ed0366 100644 --- a/osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.cs +++ b/osu.Game/Beatmaps/Legacy/LegacyControlPointInfo.cs @@ -4,7 +4,6 @@ using System.Collections.Generic; using JetBrains.Annotations; using Newtonsoft.Json; -using osu.Framework.Bindables; using osu.Framework.Lists; using osu.Game.Beatmaps.ControlPoints; @@ -16,9 +15,9 @@ namespace osu.Game.Beatmaps.Legacy /// All sound points. /// [JsonProperty] - public IBindableList SamplePoints => samplePoints; + public IReadOnlyList SamplePoints => samplePoints; - private readonly BindableList samplePoints = new BindableList(); + private readonly SortedList samplePoints = new SortedList(Comparer.Default); /// /// Finds the sound control point that is active at .