1
0
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:
Dean Herbert 2024-05-06 11:34:37 +08:00
parent 2cb367fdce
commit 12cd3bbe1c
No known key found for this signature in database

View File

@ -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(