mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 23:32:59 +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()
|
void expand()
|
||||||
{
|
{
|
||||||
chat?.Expand();
|
chat?.Contract();
|
||||||
|
|
||||||
using (BeginDelayedSequence(300, true))
|
using (BeginDelayedSequence(300, true))
|
||||||
{
|
{
|
||||||
@ -176,7 +176,7 @@ namespace osu.Game.Tournament.Screens.Gameplay
|
|||||||
SongBar.Expanded = false;
|
SongBar.Expanded = false;
|
||||||
scoreDisplay.FadeOut(100);
|
scoreDisplay.FadeOut(100);
|
||||||
using (chat?.BeginDelayedSequence(500))
|
using (chat?.BeginDelayedSequence(500))
|
||||||
chat?.Contract();
|
chat?.Expand();
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (state.NewValue)
|
switch (state.NewValue)
|
||||||
@ -203,7 +203,7 @@ namespace osu.Game.Tournament.Screens.Gameplay
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
chat.Expand();
|
chat.Contract();
|
||||||
expand();
|
expand();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -92,13 +92,13 @@ namespace osu.Game.Online.Chat
|
|||||||
textbox.Text = string.Empty;
|
textbox.Text = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Contract()
|
public void Expand()
|
||||||
{
|
{
|
||||||
this.FadeIn(300);
|
this.FadeIn(300);
|
||||||
this.MoveToY(0, 500, Easing.OutQuint);
|
this.MoveToY(0, 500, Easing.OutQuint);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Expand()
|
public void Contract()
|
||||||
{
|
{
|
||||||
this.FadeOut(200);
|
this.FadeOut(200);
|
||||||
this.MoveToY(100, 500, Easing.In);
|
this.MoveToY(100, 500, Easing.In);
|
||||||
|
Loading…
Reference in New Issue
Block a user