Add global actions; improve default assignment

This commit is contained in:
Dean Herbert
2017-08-09 17:10:32 +09:00
parent bd84e507de
commit 34b12fbfa4
7 changed files with 62 additions and 29 deletions

View File

@ -187,13 +187,14 @@ namespace osu.Game
Children = new Drawable[]
{
Cursor = new MenuCursor(),
new OsuTooltipContainer(Cursor)
new GlobalActionMappingInputManager
{
RelativeSizeAxes = Axes.Both,
Child = content = new OsuContextMenuContainer
Child = new OsuTooltipContainer(Cursor)
{
RelativeSizeAxes = Axes.Both,
},
Child = content = new OsuContextMenuContainer { RelativeSizeAxes = Axes.Both },
}
}
}
});