mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 13:22:55 +08:00
remove redundant stuff
This commit is contained in:
parent
de2181b8f5
commit
f3ca6cc387
@ -13,7 +13,6 @@ using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.Containers;
|
||||
using OpenTK;
|
||||
using OpenTK.Graphics;
|
||||
using osu.Game.Audio;
|
||||
using osu.Game.Overlays.Direct;
|
||||
using osu.Framework.Configuration;
|
||||
|
||||
@ -23,7 +22,6 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
{
|
||||
private const float transition_duration = 500;
|
||||
|
||||
private readonly Container audioWrapper;
|
||||
private readonly Box bg, progress;
|
||||
private readonly PlayButton playButton;
|
||||
|
||||
@ -42,7 +40,6 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
audioWrapper = new Container(),
|
||||
bg = new Box
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
@ -61,7 +58,7 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
Alpha = 0f,
|
||||
},
|
||||
},
|
||||
playButton = new PlayButton()
|
||||
playButton = new PlayButton
|
||||
{
|
||||
Anchor = Anchor.Centre,
|
||||
Origin = Anchor.Centre,
|
||||
|
@ -22,7 +22,6 @@ using osu.Game.Overlays.Notifications;
|
||||
using osu.Game.Online.API.Requests;
|
||||
using osu.Framework.Configuration;
|
||||
using osu.Framework.Audio.Track;
|
||||
using osu.Game.Audio;
|
||||
|
||||
namespace osu.Game.Overlays.Direct
|
||||
{
|
||||
|
@ -9,7 +9,6 @@ using osu.Framework.Configuration;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Input;
|
||||
using osu.Game.Audio;
|
||||
using osu.Game.Beatmaps;
|
||||
using osu.Game.Graphics;
|
||||
using osu.Game.Graphics.UserInterface;
|
||||
@ -38,7 +37,7 @@ namespace osu.Game.Overlays.Direct
|
||||
private Color4 hoverColour;
|
||||
private readonly SpriteIcon icon;
|
||||
private readonly LoadingAnimation loadingAnimation;
|
||||
private Container audioWrapper;
|
||||
private readonly Container audioWrapper;
|
||||
|
||||
private const float transition_duration = 500;
|
||||
|
||||
@ -64,7 +63,7 @@ namespace osu.Game.Overlays.Direct
|
||||
|
||||
public PlayButton(BeatmapSetInfo setInfo = null)
|
||||
{
|
||||
this.SetInfo = setInfo;
|
||||
SetInfo = setInfo;
|
||||
AddRange(new Drawable[]
|
||||
{
|
||||
audioWrapper = new Container(),
|
||||
|
Loading…
Reference in New Issue
Block a user