1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:07:44 +08:00

Clean up left-overs

This commit is contained in:
Dean Herbert 2023-11-24 17:46:23 +09:00
parent 3b41480bef
commit 290c3d6349
No known key found for this signature in database

View File

@ -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
{ {