Handle proxied approach layer better and add slider's approach circle (previously missing).

This commit is contained in:
Dean Herbert
2017-02-14 10:22:28 +09:00
parent 9a5ac64332
commit fc192906ea
5 changed files with 26 additions and 5 deletions

View File

@ -60,10 +60,10 @@ namespace osu.Game.Modes.Osu.UI
public override void Add(DrawableHitObject h)
{
h.Depth = (float)h.HitObject.StartTime;
DrawableHitCircle c = h as DrawableHitCircle;
IDrawableHitObjectWithProxiedApproach c = h as IDrawableHitObjectWithProxiedApproach;
if (c != null)
{
approachCircles.Add(c.ApproachCircle.CreateProxy());
approachCircles.Add(c.ProxiedLayer.CreateProxy());
}
h.OnJudgement += judgement;