Remove now unnecessary approachcircle proxy disables

Prereqs:
- [ ] ppy/osu-framework#1505
This commit is contained in:
smoogipoo 2018-04-09 18:44:50 +09:00
parent 81981acc68
commit cea3e1c7f5
2 changed files with 1 additions and 5 deletions

View File

@ -7,7 +7,6 @@ namespace osu.Game.Rulesets.Osu.Edit
{
public class OsuEditPlayfield : OsuPlayfield
{
protected override bool ProxyApproachCircles => false;
protected override bool DisplayJudgements => false;
}
}

View File

@ -21,9 +21,6 @@ public class OsuPlayfield : Playfield
private readonly JudgementContainer<DrawableOsuJudgement> judgementLayer;
private readonly ConnectionRenderer<OsuHitObject> connectionLayer;
// Todo: This should not be a thing, but is currently required for the editor
// https://github.com/ppy/osu-framework/issues/1283
protected virtual bool ProxyApproachCircles => true;
protected virtual bool DisplayJudgements => true;
public static readonly Vector2 BASE_SIZE = new Vector2(512, 384);
@ -59,7 +56,7 @@ public override void Add(DrawableHitObject h)
h.OnJudgement += onJudgement;
var c = h as IDrawableHitObjectWithProxiedApproach;
if (c != null && ProxyApproachCircles)
if (c != null)
approachCircles.Add(c.ProxiedLayer.CreateProxy());
base.Add(h);