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
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ protected override void Update()
public override bool ReceivePositionalInputAt(Vector2 screenSpacePos) => drawable.ReceivePositionalInputAt(screenSpacePos); 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; public override Quad SelectionQuad => drawable.ScreenSpaceDrawQuad;
} }