Add stable-alike BackButton

This commit is contained in:
stanriders
2016-11-27 04:21:12 +03:00
parent 1427cce76f
commit e9343fe53d
5 changed files with 98 additions and 7 deletions

View File

@ -19,6 +19,7 @@ using osu.Game.Beatmaps;
using osu.Game.Database;
using osu.Game.Modes;
using osu.Game.Screens.Backgrounds;
using osu.Game.Graphics.UserInterface;
using OpenTK;
using OpenTK.Graphics;
using osu.Game.Screens.Play;
@ -120,6 +121,12 @@ namespace osu.Game.Screens.Select
Size = Vector2.One,
Colour = new Color4(0, 0, 0, 0.5f),
},
new BackButton
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Action = () => Exit()
},
new Button
{
Anchor = Anchor.CentreRight,