Skip to content

Commit 8144524

Browse files
committed
Updated structure.
1 parent 063a28c commit 8144524

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

v3/src/input/InteractiveObject.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,19 @@ var InteractiveObject = function (gameObject, hitArea, hitAreaCallback)
2020
isDown: false,
2121
isDragged: false,
2222

23-
callbackContext: gameObject,
23+
checkingDrag: false,
2424

2525
dragX: 0,
2626
dragY: 0,
2727

28-
onMove: NOOP,
29-
onDown: NOOP,
28+
callbackContext: gameObject,
29+
3030
onUp: NOOP,
31+
onDown: NOOP,
3132
onOver: NOOP,
3233
onOut: NOOP,
34+
onMove: NOOP,
35+
3336
onDragStart: NOOP,
3437
onDrag: NOOP,
3538
onDragEnd: NOOP

0 commit comments

Comments
 (0)