|
@@ -276,11 +276,11 @@ export class PointerTracker implements Tracker
|
276
|
276
|
const isPrimary = event.isPrimary;
|
277
|
277
|
|
278
|
278
|
// determine the type of the originating device
|
279
|
|
- const type = event.pointerType;
|
|
279
|
+ const kind = event.pointerType;
|
280
|
280
|
|
281
|
281
|
// we create new trackable instances on each frame;
|
282
|
282
|
// these will be exported and consumed by the user
|
283
|
|
- this._newPointers.set(id, { id, phase, position, deltaPosition, initialPosition, velocity, elapsedTime, isPrimary, type });
|
|
283
|
+ this._newPointers.set(id, { id, phase, position, deltaPosition, initialPosition, velocity, elapsedTime, isPrimary, kind });
|
284
|
284
|
|
285
|
285
|
}
|
286
|
286
|
|