mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Fix background colour and a bug with removing scores
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user