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

Fixed CodeInspect errors

This commit is contained in:
Shivam 2020-04-24 17:00:35 +02:00
parent 85bd673413
commit 39a593120c

View File

@ -11,26 +11,26 @@ namespace osu.Game.Tournament.Screens.Showcase
{ {
public class ShowcaseScreen : BeatmapInfoScreen, IProvideVideo public class ShowcaseScreen : BeatmapInfoScreen, IProvideVideo
{ {
private Box chroma;
[BackgroundDependencyLoader] [BackgroundDependencyLoader]
private void load() private void load()
{ {
AddRangeInternal(new Drawable[] { AddRangeInternal(new Drawable[]
{
new TournamentLogo(), new TournamentLogo(),
new TourneyVideo("showcase") new TourneyVideo("showcase")
{ {
Loop = true, Loop = true,
RelativeSizeAxes = Axes.Both, RelativeSizeAxes = Axes.Both,
}, },
chroma = new Box new Box
{ {
// chroma key area for stable gameplay // chroma key area for stable gameplay
Name = "chroma", Name = "chroma",
Anchor = Anchor.TopCentre, Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre, Origin = Anchor.TopCentre,
Height = 695, Height = 695,
Width = 1366, Width = 1366,
Colour = new Color4(0, 255, 0, 255), Colour = new Color4(0, 255, 0, 255),
} }
}); });
} }