mirror of
https://github.com/troisjs/trois.git
synced 2024-11-24 04:12:02 +08:00
fix typo
This commit is contained in:
parent
1da38e4884
commit
9214198e62
@ -196,7 +196,7 @@ export default function useThree() {
|
|||||||
intersectObjects.splice(i, 1);
|
intersectObjects.splice(i, 1);
|
||||||
}
|
}
|
||||||
// remove listeners if needed
|
// remove listeners if needed
|
||||||
if (obj.pointer && !conf.use_pointer && intersectObjects.length === 0) {
|
if (obj.pointer && !conf.pointer && intersectObjects.length === 0) {
|
||||||
obj.pointer.removeListeners();
|
obj.pointer.removeListeners();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user