From 9214198e62ca3bf5a20a66827b4ff461634643d9 Mon Sep 17 00:00:00 2001 From: Kevin Levron Date: Sat, 3 Apr 2021 11:19:13 +0200 Subject: [PATCH] fix typo --- src/core/useThree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/useThree.js b/src/core/useThree.js index e4c4608..f87ecbe 100644 --- a/src/core/useThree.js +++ b/src/core/useThree.js @@ -196,7 +196,7 @@ export default function useThree() { intersectObjects.splice(i, 1); } // remove listeners if needed - if (obj.pointer && !conf.use_pointer && intersectObjects.length === 0) { + if (obj.pointer && !conf.pointer && intersectObjects.length === 0) { obj.pointer.removeListeners(); } }