1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-20 05:36:05 +08:00

Add back shake and tweak transform of text

This commit is contained in:
Dean Herbert 2021-09-14 14:44:32 +09:00
parent e17b800470
commit 8865e3cab8

View File

@ -14,6 +14,7 @@ using osu.Framework.Graphics.Shapes;
using osu.Framework.Graphics.UserInterface;
using osu.Framework.Input.Bindings;
using osu.Framework.Input.Events;
using osu.Game.Extensions;
using osu.Game.Graphics;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
@ -238,7 +239,13 @@ namespace osu.Game.Screens.OnlinePlay.Lounge
passwordTextbox.Text = string.Empty;
errorText.Text = error;
errorText.FadeOutFromOne(1000, Easing.In);
errorText
.FadeIn()
.FlashColour(Color4.White, 200)
.Delay(1000)
.FadeOutFromOne(1000, Easing.In);
Body.Shake();
}
protected override void LoadComplete()