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
3 changed files with 5 additions and 2 deletions

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;