From 7e7bf07d0376ba37623e9039ee786372f538b419 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 23 Feb 2017 11:11:46 +0900 Subject: [PATCH] Remove unused whitebox. --- osu.Game/Screens/Play/ModSelect.cs | 26 -------------------------- osu.Game/osu.Game.csproj | 5 +---- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 osu.Game/Screens/Play/ModSelect.cs diff --git a/osu.Game/Screens/Play/ModSelect.cs b/osu.Game/Screens/Play/ModSelect.cs deleted file mode 100644 index 9d3db0221d..0000000000 --- a/osu.Game/Screens/Play/ModSelect.cs +++ /dev/null @@ -1,26 +0,0 @@ -// Copyright (c) 2007-2017 ppy Pty Ltd . -// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE - -using osu.Framework.Screens; -using osu.Game.Screens.Backgrounds; -using OpenTK.Graphics; - -namespace osu.Game.Screens.Play -{ - class ModSelect : ScreenWhiteBox - { - protected override BackgroundScreen CreateBackground() => new BackgroundScreenCustom(@"Backgrounds/bg4"); - - protected override void OnEntering(Screen last) - { - base.OnEntering(last); - Background.Schedule(() => Background.FadeColour(Color4.DarkGray, 500)); - } - - protected override bool OnExiting(Screen next) - { - Background.Schedule(() => Background.FadeColour(Color4.White, 500)); - return base.OnExiting(next); - } - } -} diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index cd68d6989d..c177446666 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -151,7 +151,6 @@ - @@ -305,9 +304,7 @@ - - - +