Fix mania misses not correctly animating (temporary solution)

This commit is contained in:
Dean Herbert
2020-11-18 19:34:00 +09:00
parent 1fd582d333
commit 20bb64c627
2 changed files with 29 additions and 4 deletions

View File

@ -24,7 +24,10 @@ namespace osu.Game.Rulesets.Mania.Tests.Skinning
if (hitWindows.IsHitResultAllowed(result))
{
AddStep("Show " + result.GetDescription(), () => SetContents(() =>
new DrawableManiaJudgement(new JudgementResult(new HitObject(), new Judgement()) { Type = result }, null)
new DrawableManiaJudgement(new JudgementResult(new HitObject
{
StartTime = Time.Current
}, new Judgement()) { Type = result }, null)
{
Anchor = Anchor.Centre,
Origin = Anchor.Centre,