Make into CompositeDrawable

This commit is contained in:
smoogipoo 2020-05-18 19:37:49 +09:00
parent ed9d6f2829
commit 49ee05c3c4

View File

@ -24,7 +24,7 @@ using osu.Game.Input.Bindings;
namespace osu.Game.Screens.Play
{
public class SkipOverlay : Container, IKeyBindingHandler<GlobalAction>
public class SkipOverlay : CompositeDrawable, IKeyBindingHandler<GlobalAction>
{
private readonly double startTime;
@ -62,7 +62,7 @@ namespace osu.Game.Screens.Play
[BackgroundDependencyLoader(true)]
private void load(OsuColour colours)
{
Child = buttonContainer = new ButtonContainer
InternalChild = buttonContainer = new ButtonContainer
{
RelativeSizeAxes = Axes.Both,
Child = fadeContainer = new FadeContainer