Fix cursor being displayed on intro/disclaimer

This commit is contained in:
smoogipoo
2018-01-12 19:34:55 +09:00
parent 5952f1e7f1
commit 620e125fad
6 changed files with 28 additions and 16 deletions

View File

@ -15,12 +15,10 @@ using osu.Game.Configuration;
using osu.Game.Screens.Backgrounds;
using OpenTK;
using OpenTK.Graphics;
using osu.Game.Graphics.Cursor;
using osu.Framework.Graphics.Cursor;
namespace osu.Game.Screens.Menu
{
public class Intro : OsuScreen, IProvideLocalCursor
public class Intro : OsuScreen
{
private const string menu_music_beatmap_hash = "3c8b1fcc9434dbb29e2fb613d3b9eada9d7bb6c125ceb32396c3b53437280c83";
@ -34,9 +32,7 @@ namespace osu.Game.Screens.Menu
private SampleChannel seeya;
public override bool ShowOverlaysOnEnter => false;
public CursorContainer LocalCursor => null;
public bool ProvidesUserCursor => true;
public override bool CursorVisible => false;
protected override BackgroundScreen CreateBackground() => new BackgroundScreenEmpty();