1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 10:22:56 +08:00

Use local variables where appropriate

This commit is contained in:
Jamie Taylor 2019-02-28 19:58:21 +09:00
parent 4ad3d76b13
commit 1f273a4c3a
No known key found for this signature in database
GPG Key ID: 2ACFA8B6370B8C8C
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,6 @@ namespace osu.Game.Overlays.BeatmapSet
private const float metadata_width = 225;
private const float spacing = 20;
private readonly MetadataSection source, tags;
private readonly Box successRateBackground;
private readonly SuccessRate successRate;
@ -36,6 +35,7 @@ namespace osu.Game.Overlays.BeatmapSet
public Info()
{
MetadataSection source, tags;
RelativeSizeAxes = Axes.X;
Height = 220;
Masking = true;

View File

@ -30,7 +30,6 @@ namespace osu.Game.Overlays
public const float RIGHT_WIDTH = 275;
private readonly Header header;
private readonly Info info;
private APIAccess api;
private RulesetStore rulesets;
@ -44,6 +43,7 @@ namespace osu.Game.Overlays
public BeatmapSetOverlay()
{
Info info;
ScoresContainer scores;
Waves.FirstWaveColour = OsuColour.Gray(0.4f);
Waves.SecondWaveColour = OsuColour.Gray(0.3f);