1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 14:02:53 +08:00

Fix weird reverse logic

This commit is contained in:
Dean Herbert 2020-03-07 16:29:11 +09:00
parent 01e32896ee
commit aed52179f0
2 changed files with 5 additions and 5 deletions

View File

@ -162,7 +162,7 @@ namespace osu.Game.Tournament.Screens.Gameplay
void expand()
{
chat?.Expand();
chat?.Contract();
using (BeginDelayedSequence(300, true))
{
@ -176,7 +176,7 @@ namespace osu.Game.Tournament.Screens.Gameplay
SongBar.Expanded = false;
scoreDisplay.FadeOut(100);
using (chat?.BeginDelayedSequence(500))
chat?.Contract();
chat?.Expand();
}
switch (state.NewValue)
@ -203,7 +203,7 @@ namespace osu.Game.Tournament.Screens.Gameplay
break;
default:
chat.Expand();
chat.Contract();
expand();
break;
}

View File

@ -92,13 +92,13 @@ namespace osu.Game.Online.Chat
textbox.Text = string.Empty;
}
public void Contract()
public void Expand()
{
this.FadeIn(300);
this.MoveToY(0, 500, Easing.OutQuint);
}
public void Expand()
public void Contract()
{
this.FadeOut(200);
this.MoveToY(100, 500, Easing.In);