mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
Fix positioning
This commit is contained in:
@ -10,6 +10,9 @@ using osu.Game.Rulesets.Mania.Objects.Drawables;
|
||||
using osu.Game.Rulesets.Objects.Drawables;
|
||||
using osu.Game.Rulesets.UI;
|
||||
using System.Collections.Generic;
|
||||
using osu.Game.Rulesets.Mania.Edit.Layers;
|
||||
using osu.Game.Rulesets.Mania.UI;
|
||||
using osu.Game.Screens.Edit.Screens.Compose.Layers;
|
||||
|
||||
namespace osu.Game.Rulesets.Mania.Edit
|
||||
{
|
||||
@ -40,5 +43,13 @@ namespace osu.Game.Rulesets.Mania.Edit
|
||||
|
||||
return base.CreateMaskFor(hitObject);
|
||||
}
|
||||
|
||||
protected override HitObjectMaskLayer CreateHitObjectMaskLayer()
|
||||
{
|
||||
var layer = new ManiaHitObjectMaskLayer(RulesetContainer.Playfield, this);
|
||||
layer.Inverted.BindTo(((ManiaPlayfield)RulesetContainer.Playfield).Inverted);
|
||||
|
||||
return layer;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user