Skip to content

Commit d5ed070

Browse files
committed
Added missing reference in onDrag.
1 parent d6abc26 commit d5ed070

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

v3/src/input/local/components/ProcessDragEvents.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@ var ProcessDragEvents = function (pointer, time)
151151
{
152152
gameObject = list[i];
153153

154-
gameObject.input.dragState = 0;
154+
input = gameObject.input;
155+
156+
input.dragState = 0;
155157

156158
this.events.dispatch(new InputEvent.DRAG_END(pointer, gameObject));
157159

0 commit comments

Comments
 (0)