1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-15 09:22:54 +08:00
This commit is contained in:
Dean Herbert 2017-04-24 20:31:25 +09:00
parent c7b789424b
commit 43d09a9734
2 changed files with 3 additions and 4 deletions

View File

@ -7,14 +7,13 @@ using osu.Game.Database;
using osu.Game.Graphics; using osu.Game.Graphics;
using OpenTK; using OpenTK;
using OpenTK.Graphics; using OpenTK.Graphics;
using System;
namespace osu.Game.Beatmaps.Drawables namespace osu.Game.Beatmaps.Drawables
{ {
internal class DifficultyIcon : DifficultyColouredContainer internal class DifficultyIcon : DifficultyColouredContainer
{ {
private BeatmapInfo beatmap; private readonly BeatmapInfo beatmap;
public DifficultyIcon(BeatmapInfo beatmap) : base(beatmap) public DifficultyIcon(BeatmapInfo beatmap) : base(beatmap)
{ {
@ -23,7 +22,7 @@ namespace osu.Game.Beatmaps.Drawables
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load()
{ {
Children = new[] Children = new[]
{ {

View File

@ -284,7 +284,7 @@ namespace osu.Game.Screens.Select
} }
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load(OsuColour colours) private void load()
{ {
const float full_opacity_ratio = 0.7f; const float full_opacity_ratio = 0.7f;