mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 11:37:28 +08:00
DrawableTopScore can be composite
This commit is contained in:
parent
5d37851d34
commit
5c3c08566f
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user