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:
parent
01e32896ee
commit
aed52179f0
@ -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;
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user