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:
parent
e3fa5f1da3
commit
0bf35faae8
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user