Move chat into main content

Also changes the way parallax is applied to OsuScreens game-wide.
This commit is contained in:
Dean Herbert
2017-05-12 19:03:21 +09:00
parent dbf60d24bf
commit cf239f4d9c
2 changed files with 6 additions and 3 deletions

View File

@ -7,6 +7,7 @@ using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Database;
using osu.Game.Graphics.Containers;
using OpenTK;
namespace osu.Game.Screens
{
@ -96,6 +97,9 @@ namespace osu.Game.Screens
}
else if (bg != null)
{
// this makes up for the fact our padding changes when the global toolbar is visible.
bg.Scale = new Vector2(1.06f);
AddInternal(new ParallaxContainer
{
Depth = float.MaxValue,