Don't autohide the channel list if the chat is too tall

This commit is contained in:
DrabWeb 2017-05-31 22:42:53 -03:00
parent 52d524a65e
commit 32f98ca62b

View File

@ -241,11 +241,6 @@ namespace osu.Game.Overlays
{ {
chatContainer.Height = (float)h; chatContainer.Height = (float)h;
channelSelection.Height = 1f - (float)h; channelSelection.Height = 1f - (float)h;
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); tabBackground.FadeTo(Height == 1 ? 1 : 0.8f, 200);
}; };
chatHeight.TriggerChange(); chatHeight.TriggerChange();