mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 15:47:26 +08:00
Clean up left-overs
This commit is contained in:
parent
3b41480bef
commit
290c3d6349
@ -13,27 +13,22 @@ using osu.Game.Graphics;
|
|||||||
using osu.Game.Graphics.Sprites;
|
using osu.Game.Graphics.Sprites;
|
||||||
using osu.Game.Resources.Localisation.Web;
|
using osu.Game.Resources.Localisation.Web;
|
||||||
using osuTK;
|
using osuTK;
|
||||||
using osuTK.Graphics;
|
|
||||||
|
|
||||||
namespace osu.Game.Overlays.Chat
|
namespace osu.Game.Overlays.Chat
|
||||||
{
|
{
|
||||||
public partial class ChatOverlayTopBar : Container
|
public partial class ChatOverlayTopBar : Container
|
||||||
{
|
{
|
||||||
private Box background = null!;
|
|
||||||
|
|
||||||
private Color4 backgroundColour;
|
|
||||||
|
|
||||||
public Drawable DragBar = null!;
|
public Drawable DragBar = null!;
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OverlayColourProvider colourProvider, TextureStore textures)
|
private void load(OverlayColourProvider colourProvider, TextureStore textures)
|
||||||
{
|
{
|
||||||
Children = new Drawable[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
background = new Box
|
new Box
|
||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Colour = backgroundColour = colourProvider.Background3,
|
Colour = colourProvider.Background3,
|
||||||
},
|
},
|
||||||
new GridContainer
|
new GridContainer
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user