1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-21 00:12:59 +08:00

update colour, width, icon and text

This commit is contained in:
Jorolf 2017-05-25 20:25:59 +02:00
parent af9b02746a
commit a9658ec66f

View File

@ -43,7 +43,7 @@ namespace osu.Game.Overlays.Chat
Padding = new MarginPadding(10),
});
AddTabItem(new ChannelTabItem.ChannelSelectorTabItem(new Channel(), channelSelectorActive));
AddTabItem(new ChannelTabItem.ChannelSelectorTabItem(new Channel { Name = "+" }, channelSelectorActive));
}
private class ChannelTabItem : TabItem<Channel>
@ -218,18 +218,20 @@ namespace osu.Game.Overlays.Chat
{
activeBindable = active;
Depth = float.MaxValue;
Width = 60;
Width = 45;
icon.Icon = FontAwesome.fa_plus;
icon.Icon = 0;
icon.X = 0;
text.TextSize = 45;
textBold.TextSize = 45;
}
[BackgroundDependencyLoader]
private new void load(OsuColour colour)
{
backgroundActive = colour.Green;
backgroundInactive = colour.GreenDark;
backgroundHover = colour.Green;
backgroundInactive = colour.Gray2;
backgroundActive = colour.Gray3;
updateState();
}