Remove depth specifications

This commit is contained in:
Dean Herbert 2020-11-20 15:11:24 +09:00
parent 45b1fcf26f
commit 185653b1d8
1 changed files with 5 additions and 24 deletions

View File

@ -44,31 +44,12 @@ public OsuPlayfield()
{ {
InternalChildren = new Drawable[] InternalChildren = new Drawable[]
{ {
playfieldBorder = new PlayfieldBorder playfieldBorder = new PlayfieldBorder { RelativeSizeAxes = Axes.Both },
{ spinnerProxies = new ProxyContainer { RelativeSizeAxes = Axes.Both },
RelativeSizeAxes = Axes.Both, followPoints = new FollowPointRenderer { RelativeSizeAxes = Axes.Both },
Depth = 3 judgementLayer = new JudgementContainer<DrawableOsuJudgement> { RelativeSizeAxes = Axes.Both },
},
spinnerProxies = new ProxyContainer
{
RelativeSizeAxes = Axes.Both
},
followPoints = new FollowPointRenderer
{
RelativeSizeAxes = Axes.Both,
Depth = 2,
},
judgementLayer = new JudgementContainer<DrawableOsuJudgement>
{
RelativeSizeAxes = Axes.Both,
Depth = 1,
},
HitObjectContainer, HitObjectContainer,
approachCircles = new ProxyContainer approachCircles = new ProxyContainer { RelativeSizeAxes = Axes.Both },
{
RelativeSizeAxes = Axes.Both,
Depth = -1,
},
}; };
hitPolicy = new OrderedHitPolicy(HitObjectContainer); hitPolicy = new OrderedHitPolicy(HitObjectContainer);