Fix error-level inspections.

This commit is contained in:
Dean Herbert
2017-03-07 13:50:24 +09:00
parent 4430255ec4
commit 5cbcf7a20a
15 changed files with 6 additions and 25 deletions

View File

@ -6,7 +6,6 @@ using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Security.Cryptography;
using osu.Framework.Extensions;
using osu.Framework.Logging;
using osu.Framework.Platform;

View File

@ -4,7 +4,6 @@
using System;
using System.ComponentModel;
using osu.Game.Graphics;
using osu.Game.Modes.UI;
using osu.Game.Screens.Play;
namespace osu.Game.Modes

View File

@ -6,7 +6,6 @@ using osu.Game.Modes.Objects;
using osu.Game.Modes.UI;
using System;
using System.Collections.Concurrent;
using osu.Framework.Input;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Screens.Play;

View File

@ -1,9 +1,7 @@
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Input.Handlers;
using osu.Game.Database;
using SQLite.Net;
namespace osu.Game.Modes
{

View File

@ -7,7 +7,6 @@ using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Game.Modes.Objects;
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Beatmaps;

View File

@ -5,7 +5,6 @@ using osu.Framework.Allocation;
using OpenTK;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Input;
using osu.Game.Modes.Objects;
using osu.Game.Modes.Objects.Drawables;
using osu.Game.Screens.Play;
@ -31,8 +30,6 @@ namespace osu.Game.Modes.UI
protected override Container<Drawable> Content { get; }
private Container content;
public Playfield()
{
AddInternal(scaledContent = new ScaledContainer
@ -40,7 +37,7 @@ namespace osu.Game.Modes.UI
RelativeSizeAxes = Axes.Both,
Children = new[]
{
content = new Container
Content = new Container
{
RelativeSizeAxes = Axes.Both,
}
@ -64,9 +61,9 @@ namespace osu.Game.Modes.UI
if (InputManager != null)
{
//if we've been provided an InputManager, we want it to sit inside the scaledcontainer
scaledContent.Remove(content);
scaledContent.Remove(Content);
scaledContent.Add(InputManager);
InputManager.Add(content);
InputManager.Add(Content);
}
}

View File

@ -6,9 +6,7 @@ using osu.Framework.Configuration;
using osu.Framework.Input;
using osu.Game.Configuration;
using System.Linq;
using osu.Framework.Input.Handlers;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Input.Handlers;
using OpenTK.Input;
using KeyboardState = osu.Framework.Input.KeyboardState;