Merge pull request #21 from smoogipooo/general_fixes

General fixes
This commit is contained in:
Dean Herbert 2016-09-03 23:05:01 +09:00 committed by GitHub
commit eeb3494f04
3 changed files with 5 additions and 2 deletions

@ -1 +1 @@
Subproject commit 768dd5dd7d89c680d4089f43df8c7a9fc1f8688c Subproject commit e33e9158a96f0dd72f5c6d94b3778d28e98598da

View File

@ -48,6 +48,8 @@ namespace osu.Game.Graphics.UserInterface
public override void Load() public override void Load()
{ {
base.Load();
Add(background = new Box() Add(background = new Box()
{ {
Colour = BackgroundUnfocused, Colour = BackgroundUnfocused,
@ -96,6 +98,8 @@ namespace osu.Game.Graphics.UserInterface
protected override void UpdateLayout() protected override void UpdateLayout()
{ {
base.UpdateLayout();
//have to run this after children flow //have to run this after children flow
cursorAndLayout.Refresh(delegate cursorAndLayout.Refresh(delegate
{ {

View File

@ -3,7 +3,6 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing;
using osu.Framework.Framework; using osu.Framework.Framework;
using osu.Game.Configuration; using osu.Game.Configuration;
using osu.Game.GameModes.Menu; using osu.Game.GameModes.Menu;