Fix background colour and a bug with removing scores

This commit is contained in:
EVAST9919
2019-02-08 20:07:21 +03:00
parent 7a3ae0f479
commit 13c154a0b3
2 changed files with 13 additions and 6 deletions

View File

@ -5,6 +5,7 @@ using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Online.API.Requests.Responses;
using System.Collections.Generic;
using System.Linq;
namespace osu.Game.Overlays.BeatmapSet.Scores
{
@ -48,11 +49,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
public void ClearScores()
{
scores = null;
foreach (var s in this)
{
if (s is DrawableScore)
Remove(s);
}
Clear();
}
}
}