Merge remote-tracking branch 'upstream/master' into user-status-wiring

This commit is contained in:
Lucas A
2019-05-07 18:27:14 +02:00
224 changed files with 772 additions and 35 deletions

View File

@ -70,6 +70,7 @@ namespace osu.Game.Screens.Edit
EditorMenuBar menuBar;
var fileMenuItems = new List<MenuItem>();
if (RuntimeInfo.IsDesktop)
{
fileMenuItems.Add(new EditorMenuItem("Export", MenuItemType.Standard, exportBeatmap));
@ -173,6 +174,7 @@ namespace osu.Game.Screens.Edit
case Key.Left:
seek(e, -1);
return true;
case Key.Right:
seek(e, 1);
return true;
@ -218,6 +220,7 @@ namespace osu.Game.Screens.Edit
public override bool OnExiting(IScreen next)
{
Background.FadeColour(Color4.White, 500);
if (Beatmap.Value.Track != null)
{
Beatmap.Value.Track.Tempo.Value = 1;
@ -238,9 +241,11 @@ namespace osu.Game.Screens.Edit
case EditorScreenMode.Compose:
currentScreen = new ComposeScreen();
break;
case EditorScreenMode.Design:
currentScreen = new DesignScreen();
break;
default:
currentScreen = new EditorScreen();
break;