mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 08:49:59 +09:00
Add stable-alike BackButton
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user