1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 09:27:34 +08:00

Remove first-person comment

This commit is contained in:
Robin Avery 2021-06-06 13:27:13 -04:00
parent da1c38d5a9
commit 888882ac63
No known key found for this signature in database
GPG Key ID: 0496DF10CEF7E226

View File

@ -61,8 +61,6 @@ namespace osu.Game.Skinning.Editor
if (parent == null)
return drawable.Anchor;
// If there is a better way to get this information, let me know. Was taken from LogoTrackingContainer.ComputeLogoTrackingPosition
// I tried a lot of different things, such as just using Position / ChildSize, but none of them worked properly.
var screenPosition = getOriginPositionFromQuad(drawable.ScreenSpaceDrawQuad, drawable.Origin);
var absolutePosition = parent.ToLocalSpace(screenPosition);
var factor = parent.RelativeToAbsoluteFactor;