Ctrl+Shift+D at main menu to open up drawings, until we get a permanent place for it.

This commit is contained in:
smoogipooo 2017-03-03 12:42:03 +09:00
parent 062d8ddc7c
commit 26b81a14cf

View File

@ -14,6 +14,8 @@ using osu.Game.Screens.Multiplayer;
using OpenTK;
using osu.Game.Screens.Select;
using osu.Game.Screens.Tournament;
using osu.Framework.Input;
using OpenTK.Input;
namespace osu.Game.Screens.Menu
{
@ -62,13 +64,6 @@ namespace osu.Game.Screens.Menu
buttons.OnSettings = game.ToggleOptions;
}
protected override void LoadComplete()
{
base.LoadComplete();
Push(new Drawings());
}
protected override void OnEntering(Screen last)
{
base.OnEntering(last);
@ -105,5 +100,16 @@ namespace osu.Game.Screens.Menu
Content.FadeOut(3000);
return base.OnExiting(next);
}
protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
{
if (!args.Repeat && state.Keyboard.ControlPressed && state.Keyboard.ShiftPressed && args.Key == Key.D)
{
Push(new Drawings());
return true;
}
return base.OnKeyDown(state, args);
}
}
}