mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Fix incorrect scale handling due to selection point changes
This commit is contained in:
parent
2cb367fdce
commit
12cd3bbe1c
@ -139,7 +139,7 @@ namespace osu.Game.Overlays.SkinEditor
|
||||
var drawableItem = (Drawable)b.Item;
|
||||
|
||||
// each drawable's relative position should be maintained in the scaled quad.
|
||||
var screenPosition = b.ScreenSpaceSelectionPoint;
|
||||
var screenPosition = drawableItem.ToScreenSpace(drawableItem.OriginPosition);
|
||||
|
||||
var relativePositionInOriginal =
|
||||
new Vector2(
|
||||
|
Loading…
Reference in New Issue
Block a user