Skip to content

Commit 409a8aa

Browse files
properly use the current pointer defined on line 135
1 parent 1ccef05 commit 409a8aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/MixedRealityToolkit-SDK/Features/Input/Handlers/DragAndDropHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void IMixedRealityPointerHandler.OnPointerDown(MixedRealityPointerEventData even
135135
currentPointer = eventData.Pointer;
136136

137137
FocusDetails focusDetails;
138-
Vector3 initialDraggingPosition = MixedRealityManager.InputSystem.FocusProvider.TryGetFocusDetails(eventData.Pointer, out focusDetails)
138+
Vector3 initialDraggingPosition = MixedRealityManager.InputSystem.FocusProvider.TryGetFocusDetails(currentPointer, out focusDetails)
139139
? focusDetails.Point
140140
: hostTransform.position;
141141

0 commit comments

Comments
 (0)