Skip to content

Commit d6507f8

Browse files
authored
Fix access of getPointerCount by invocating instead of accessing .length (#1381)
1 parent 6c12f0d commit d6507f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/three/renderer/controls/PointerTracker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export class PointerTracker {
131131
delete this.previousPositions[ id ];
132132
delete this.startPositions[ id ];
133133

134-
if ( this.getPointerCount.length === 0 ) {
134+
if ( this.getPointerCount() === 0 ) {
135135

136136
this.buttons = 0;
137137
this.pointerType = null;

0 commit comments

Comments
 (0)