mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 03:25:11 +08:00
Remove test used for visualization
This commit is contained in:
parent
b7aed0a014
commit
6391d21af1
@ -9,7 +9,6 @@ using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Colour;
|
||||
using osu.Framework.Graphics.Shapes;
|
||||
using osu.Game.Screens.Menu;
|
||||
using osuTK;
|
||||
using osuTK.Graphics;
|
||||
|
||||
namespace osu.Game.Tests.Visual.UserInterface
|
||||
@ -43,25 +42,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
||||
buttons.SetOsuLogo(logo);
|
||||
|
||||
foreach (var s in Enum.GetValues(typeof(ButtonSystemState)).OfType<ButtonSystemState>().Skip(1))
|
||||
AddStep($"State to {s}", () =>
|
||||
{
|
||||
buttons.State = s;
|
||||
|
||||
if (buttons.State == ButtonSystemState.EnteringMode)
|
||||
{
|
||||
buttons.FadeOut(400, Easing.InSine);
|
||||
buttons.MoveTo(new Vector2(-800, 0), 400, Easing.InSine);
|
||||
logo.FadeOut(300, Easing.InSine)
|
||||
.ScaleTo(0.2f, 300, Easing.InSine);
|
||||
}
|
||||
else
|
||||
{
|
||||
buttons.FadeIn(400, Easing.OutQuint);
|
||||
buttons.MoveTo(new Vector2(0), 400, Easing.OutQuint);
|
||||
logo.FadeColour(Color4.White, 100, Easing.OutQuint);
|
||||
logo.FadeIn(100, Easing.OutQuint);
|
||||
}
|
||||
});
|
||||
AddStep($"State to {s}", () => buttons.State = s);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user