Set depths from playfield add methods instead of DrawableHitObject

This commit is contained in:
smoogipooo
2017-09-13 16:17:01 +09:00
parent 6682c3a736
commit 093d82ac45
6 changed files with 9 additions and 3 deletions

View File

@ -203,6 +203,8 @@ namespace osu.Game.Rulesets.Mania.UI
/// <param name="hitObject">The DrawableHitObject to add.</param>
public override void Add(DrawableHitObject hitObject)
{
hitObject.Depth = (float)hitObject.HitObject.StartTime;
hitObject.AccentColour = AccentColour;
HitObjects.Add(hitObject);
}