1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 01:02:55 +08:00

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) if (!flashlightProperties.IsValid)
{ {
FlashlightPosition = taikoPlayfield.HitTarget.ToSpaceOfOtherDrawable(taikoPlayfield.HitTarget.OriginPosition, this); FlashlightPosition = ToLocalSpace(taikoPlayfield.HitTarget.ScreenSpaceDrawQuad.Centre);
flashlightProperties.Validate(); flashlightProperties.Validate();
} }
} }