mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 21:07:33 +08:00
Removed unused stuff.
This commit is contained in:
parent
bbe555dc3c
commit
df53b884ea
@ -38,8 +38,6 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
public readonly BeatmapPicker Picker;
|
||||
|
||||
private bool isDownloading => beatmaps.GetExistingDownload(BeatmapSet) != null;
|
||||
|
||||
private BeatmapSetInfo beatmapSet;
|
||||
public BeatmapSetInfo BeatmapSet
|
||||
{
|
||||
|
@ -31,7 +31,6 @@ namespace osu.Game.Overlays
|
||||
|
||||
private APIAccess api;
|
||||
private RulesetStore rulesets;
|
||||
private BeatmapManager manager;
|
||||
|
||||
private readonly ScrollContainer scroll;
|
||||
|
||||
@ -92,7 +91,6 @@ namespace osu.Game.Overlays
|
||||
{
|
||||
this.api = api;
|
||||
this.rulesets = rulesets;
|
||||
this.manager = manager;
|
||||
|
||||
manager.BeatmapSetAdded += beatmap =>
|
||||
{
|
||||
|
@ -16,7 +16,6 @@ using osu.Game.Graphics.Sprites;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Framework.Input;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
using osu.Game.Online.API;
|
||||
using osu.Framework.Logging;
|
||||
using osu.Game.Online.API.Requests;
|
||||
using osu.Framework.Configuration;
|
||||
@ -34,10 +33,8 @@ namespace osu.Game.Overlays.Direct
|
||||
|
||||
private Container content;
|
||||
|
||||
private APIAccess api;
|
||||
private ProgressBar progressBar;
|
||||
private BeatmapManager beatmaps;
|
||||
private NotificationOverlay notifications;
|
||||
private BeatmapSetOverlay beatmapSetOverlay;
|
||||
|
||||
public Track Preview => PlayButton.Preview;
|
||||
@ -70,11 +67,9 @@ namespace osu.Game.Overlays.Direct
|
||||
|
||||
|
||||
[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.notifications = notifications;
|
||||
this.beatmapSetOverlay = beatmapSetOverlay;
|
||||
|
||||
AddInternal(content = new Container
|
||||
|
Loading…
Reference in New Issue
Block a user