Removed unused stuff.

This commit is contained in:
naoey
2017-11-15 17:58:02 +05:30
parent bbe555dc3c
commit df53b884ea
3 changed files with 1 additions and 10 deletions

View File

@ -38,8 +38,6 @@ namespace osu.Game.Overlays.BeatmapSet
public readonly BeatmapPicker Picker; public readonly BeatmapPicker Picker;
private bool isDownloading => beatmaps.GetExistingDownload(BeatmapSet) != null;
private BeatmapSetInfo beatmapSet; private BeatmapSetInfo beatmapSet;
public BeatmapSetInfo BeatmapSet public BeatmapSetInfo BeatmapSet
{ {

View File

@ -31,7 +31,6 @@ namespace osu.Game.Overlays
private APIAccess api; private APIAccess api;
private RulesetStore rulesets; private RulesetStore rulesets;
private BeatmapManager manager;
private readonly ScrollContainer scroll; private readonly ScrollContainer scroll;
@ -92,7 +91,6 @@ namespace osu.Game.Overlays
{ {
this.api = api; this.api = api;
this.rulesets = rulesets; this.rulesets = rulesets;
this.manager = manager;
manager.BeatmapSetAdded += beatmap => manager.BeatmapSetAdded += beatmap =>
{ {

View File

@ -16,7 +16,6 @@ using osu.Game.Graphics.Sprites;
using OpenTK.Graphics; using OpenTK.Graphics;
using osu.Framework.Input; using osu.Framework.Input;
using osu.Game.Graphics.UserInterface; using osu.Game.Graphics.UserInterface;
using osu.Game.Online.API;
using osu.Framework.Logging; using osu.Framework.Logging;
using osu.Game.Online.API.Requests; using osu.Game.Online.API.Requests;
using osu.Framework.Configuration; using osu.Framework.Configuration;
@ -34,10 +33,8 @@ namespace osu.Game.Overlays.Direct
private Container content; private Container content;
private APIAccess api;
private ProgressBar progressBar; private ProgressBar progressBar;
private BeatmapManager beatmaps; private BeatmapManager beatmaps;
private NotificationOverlay notifications;
private BeatmapSetOverlay beatmapSetOverlay; private BeatmapSetOverlay beatmapSetOverlay;
public Track Preview => PlayButton.Preview; public Track Preview => PlayButton.Preview;
@ -70,11 +67,9 @@ namespace osu.Game.Overlays.Direct
[BackgroundDependencyLoader(permitNulls: true)] [BackgroundDependencyLoader(permitNulls: true)]
private void load(APIAccess api, BeatmapManager beatmaps, OsuColour colours, NotificationOverlay notifications, BeatmapSetOverlay beatmapSetOverlay) private void load(BeatmapManager beatmaps, OsuColour colours, BeatmapSetOverlay beatmapSetOverlay)
{ {
this.api = api;
this.beatmaps = beatmaps; this.beatmaps = beatmaps;
this.notifications = notifications;
this.beatmapSetOverlay = beatmapSetOverlay; this.beatmapSetOverlay = beatmapSetOverlay;
AddInternal(content = new Container AddInternal(content = new Container