Hide osu! playfield cursor

This commit is contained in:
smoogipoo
2017-11-30 19:19:34 +09:00
parent efa39f38ca
commit 677f3653eb
6 changed files with 49 additions and 2 deletions

View File

@ -11,6 +11,7 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Logging;
using osu.Framework.Timing;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit.Tools;
using osu.Game.Rulesets.UI;
using osu.Game.Screens.Edit.Screens.Compose.RadioButtons;
@ -34,7 +35,7 @@ namespace osu.Game.Rulesets.Edit
RulesetContainer rulesetContainer;
try
{
rulesetContainer = ruleset.CreateRulesetContainerWith(osuGame.Beatmap.Value, true);
rulesetContainer = CreateRulesetContainer(ruleset, osuGame.Beatmap.Value);
}
catch (Exception e)
{
@ -99,6 +100,8 @@ namespace osu.Game.Rulesets.Edit
{
}
protected virtual RulesetContainer CreateRulesetContainer(Ruleset ruleset, WorkingBeatmap beatmap) => ruleset.CreateRulesetContainerWith(beatmap, true);
protected abstract IReadOnlyList<ICompositionTool> CompositionTools { get; }
}
}