mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:25:05 +08:00
Fix the channel selector not appearing if the chat is scaled up too tall then back down
This commit is contained in:
parent
2edbf64d69
commit
d970430174
@ -232,7 +232,11 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
chatContainer.Height = (float)h;
|
||||
channelSelection.Height = 1f - (float)h;
|
||||
if (channelSelection.Height < channel_selection_min_height) channelSelection.Hide();
|
||||
if (channelSelection.Height < channel_selection_min_height)
|
||||
channelSelection.Hide();
|
||||
else if (channelSelection.State == Visibility.Hidden && channelTabs.ChannelSelectorActive.Value)
|
||||
channelSelection.Show();
|
||||
|
||||
tabBackground.FadeTo(Height == 1 ? 1 : 0.8f, 200);
|
||||
};
|
||||
chatHeight.TriggerChange();
|
||||
|
Loading…
Reference in New Issue
Block a user