mirror of https://github.com/ppy/osu
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 @@ protected override void Update()
|
|||
|
||||
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