1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

DrawableTopScore can be composite

This commit is contained in:
Dean Herbert 2019-04-03 18:20:03 +09:00
parent 5d37851d34
commit 5c3c08566f

View File

@ -14,7 +14,7 @@ using osuTK.Graphics;
namespace osu.Game.Overlays.BeatmapSet.Scores
{
public class DrawableTopScore : Container
public class DrawableTopScore : CompositeDrawable
{
private const float fade_duration = 100;
@ -40,7 +40,7 @@ namespace osu.Game.Overlays.BeatmapSet.Scores
Offset = new Vector2(0, 1),
};
Children = new Drawable[]
InternalChildren = new Drawable[]
{
background = new Box
{