mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 03:52:54 +08:00
update colour, width, icon and text
This commit is contained in:
parent
af9b02746a
commit
a9658ec66f
@ -43,7 +43,7 @@ namespace osu.Game.Overlays.Chat
|
|||||||
Padding = new MarginPadding(10),
|
Padding = new MarginPadding(10),
|
||||||
});
|
});
|
||||||
|
|
||||||
AddTabItem(new ChannelTabItem.ChannelSelectorTabItem(new Channel(), channelSelectorActive));
|
AddTabItem(new ChannelTabItem.ChannelSelectorTabItem(new Channel { Name = "+" }, channelSelectorActive));
|
||||||
}
|
}
|
||||||
|
|
||||||
private class ChannelTabItem : TabItem<Channel>
|
private class ChannelTabItem : TabItem<Channel>
|
||||||
@ -218,18 +218,20 @@ namespace osu.Game.Overlays.Chat
|
|||||||
{
|
{
|
||||||
activeBindable = active;
|
activeBindable = active;
|
||||||
Depth = float.MaxValue;
|
Depth = float.MaxValue;
|
||||||
Width = 60;
|
Width = 45;
|
||||||
|
|
||||||
icon.Icon = FontAwesome.fa_plus;
|
icon.Icon = 0;
|
||||||
icon.X = 0;
|
icon.X = 0;
|
||||||
|
|
||||||
|
text.TextSize = 45;
|
||||||
|
textBold.TextSize = 45;
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private new void load(OsuColour colour)
|
private new void load(OsuColour colour)
|
||||||
{
|
{
|
||||||
backgroundActive = colour.Green;
|
backgroundInactive = colour.Gray2;
|
||||||
backgroundInactive = colour.GreenDark;
|
backgroundActive = colour.Gray3;
|
||||||
backgroundHover = colour.Green;
|
|
||||||
|
|
||||||
updateState();
|
updateState();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user