Move initial state updates to DrawableHitObject.

This commit is contained in:
Dean Herbert 2016-12-06 18:26:21 +09:00
parent 29d15c3ab8
commit 421dd19aaf
3 changed files with 3 additions and 10 deletions

View File

@ -64,14 +64,6 @@ public DrawableHitCircle(OsuHitObject h) : base(h)
Size = circle.DrawSize;
}
protected override void LoadComplete()
{
base.LoadComplete();
//force application of the state that was set before we loaded.
UpdateState(State);
}
double hit50 = 150;
double hit100 = 80;
double hit300 = 30;

View File

@ -68,8 +68,6 @@ protected override void LoadComplete()
{
base.LoadComplete();
//force application of the state that was set before we loaded.
UpdateState(State);
body.PathWidth = 32;
}

View File

@ -48,6 +48,9 @@ protected override void LoadComplete()
base.LoadComplete();
Judgement = CreateJudgementInfo();
//force application of the state that was set before we loaded.
UpdateState(State);
}
/// <summary>