1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-17 04:32:53 +08:00

Merge pull request #1226 from MrTheMake/channelsection-initial-appearance

Fix wrong initial topic color of not joined channels in the channel selection
This commit is contained in:
Dean Herbert 2017-09-09 02:44:36 +09:00 committed by GitHub
commit 4dc67ed796

View File

@ -76,7 +76,6 @@ namespace osu.Game.Overlays.Chat
Size = new Vector2(text_size), Size = new Vector2(text_size),
Shadow = false, Shadow = false,
Margin = new MarginPadding { Right = 10f }, Margin = new MarginPadding { Right = 10f },
Alpha = 0f,
}, },
}, },
}, },
@ -109,7 +108,6 @@ namespace osu.Game.Overlays.Chat
TextSize = text_size, TextSize = text_size,
Font = @"Exo2.0-SemiBold", Font = @"Exo2.0-SemiBold",
Shadow = false, Shadow = false,
Alpha = 0.8f,
}, },
}, },
}, },
@ -151,6 +149,9 @@ namespace osu.Game.Overlays.Chat
joinedBind.ValueChanged += updateColour; joinedBind.ValueChanged += updateColour;
joinedBind.BindTo(channel.Joined); joinedBind.BindTo(channel.Joined);
joinedBind.TriggerChange();
FinishTransforms(true);
} }
protected override bool OnHover(InputState state) protected override bool OnHover(InputState state)