mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 11:42:56 +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:
parent
a96603f025
commit
c80e736712
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user