Fix flashlight alignment

This commit is contained in:
smoogipoo 2021-09-17 18:10:53 +09:00
parent 9bacc0d50c
commit f584d6593a

View File

@ -64,7 +64,7 @@ namespace osu.Game.Rulesets.Taiko.Mods
if (!flashlightProperties.IsValid)
{
FlashlightPosition = taikoPlayfield.HitTarget.ToSpaceOfOtherDrawable(taikoPlayfield.HitTarget.OriginPosition, this);
FlashlightPosition = ToLocalSpace(taikoPlayfield.HitTarget.ScreenSpaceDrawQuad.Centre);
flashlightProperties.Validate();
}
}