Make juice streams interactive (and correctly positioned)

This commit is contained in:
Dean Herbert
2017-10-11 18:18:06 +09:00
parent e4f915e5af
commit 1f1bdc6162
7 changed files with 16 additions and 3 deletions

View File

@ -83,7 +83,11 @@ namespace osu.Game.Rulesets.Catch.UI
if (judgement.IsHit)
{
Vector2 screenPosition = judgedObject.ScreenSpaceDrawQuad.Centre;
Remove(judgedObject);
// todo: don't do this
(judgedObject.Parent as Container<DrawableHitObject>)?.Remove(judgedObject);
(judgedObject.Parent as Container)?.Remove(judgedObject);
catcher.Add(judgedObject, screenPosition);
}
}