Move GamemodeControl to UserProfileOverlay

This commit is contained in:
EVAST9919
2019-06-04 19:33:55 +03:00
parent 8260b61db5
commit e9403bf2f7
4 changed files with 24 additions and 33 deletions

View File

@ -1,10 +1,8 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.MathUtils;
using osu.Game.Graphics;
using osu.Game.Overlays.Profile.Header.Components;
using osuTK.Graphics;
using System;
@ -38,11 +36,5 @@ namespace osu.Game.Tests.Visual.Online
AddStep("set random colour", () => control.AccentColour = new Color4(RNG.NextSingle(), RNG.NextSingle(), RNG.NextSingle(), 1));
}
[BackgroundDependencyLoader]
private void load(OsuColour colours)
{
control.AccentColour = colours.Seafoam;
}
}
}