Hide test hit directly in explosion scene

This commit is contained in:
Bartłomiej Dach
2020-09-26 17:26:26 +02:00
parent b64e69fabd
commit 095686a320
2 changed files with 9 additions and 1 deletions

View File

@ -35,7 +35,9 @@ namespace osu.Game.Rulesets.Taiko.Tests.Skinning
RelativeSizeAxes = Axes.Both,
Children = new Drawable[]
{
hit,
// the hit needs to be added to hierarchy in order for nested objects to be created correctly.
// setting zero alpha is supposed to prevent the test from looking broken.
hit.With(h => h.Alpha = 0),
new HitExplosion(hit, hit.Type)
{
Anchor = Anchor.Centre,