1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Change SkinBlueprint to use the origin point as the selection point

Not sure how this feels, but it makes using the same point throughout
the editor possible, which I think is the correct way forward for now.
This commit is contained in:
Dean Herbert 2021-05-18 18:31:57 +09:00
parent a96603f025
commit c80e736712

View File

@ -124,7 +124,7 @@ namespace osu.Game.Skinning.Editor
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => drawable.ReceivePositionalInputAt(screenSpacePos);
public override Vector2 ScreenSpaceSelectionPoint => drawable.ScreenSpaceDrawQuad.Centre;
public override Vector2 ScreenSpaceSelectionPoint => drawable.ToScreenSpace(drawable.OriginPosition);
public override Quad SelectionQuad => drawable.ScreenSpaceDrawQuad;
}