1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 08:43:01 +08:00

Update incorrect reference

This commit is contained in:
Dean Herbert 2019-10-21 19:25:46 +09:00
parent e3fa5f1da3
commit 0bf35faae8

View File

@ -231,7 +231,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
private void onDragRequested(SelectionBlueprint blueprint, DragEvent dragEvent)
{
HitObject draggedObject = blueprint.HitObject.HitObject;
HitObject draggedObject = blueprint.DrawableObject.HitObject;
Vector2 movePosition = blueprint.ScreenSpaceMovementStartPosition + dragEvent.ScreenSpaceMousePosition - dragEvent.ScreenSpaceMouseDownPosition;
Vector2 snappedPosition = composer.GetSnappedPosition(ToLocalSpace(movePosition));