1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 23:10:51 +08:00

Merge pull request #4497 from peppy/fix-editor-cursor

Fix gameplay cursor showing in editor
This commit is contained in:
Dan Balasescu
2019-03-22 13:14:07 +09:00
committed by GitHub
Unverified
@@ -1,6 +1,7 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Cursor;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Osu.UI;
using osu.Game.Rulesets.UI;
@@ -19,10 +20,7 @@ namespace osu.Game.Rulesets.Osu.Edit
private class OsuPlayfieldNoCursor : OsuPlayfield
{
public OsuPlayfieldNoCursor()
{
Cursor?.Expire();
}
protected override CursorContainer CreateCursor() => null;
}
}
}