diff --git a/src/components/utilities/Controls.vue b/src/components/utilities/Controls.vue index 4a6d759..eb0e148 100644 --- a/src/components/utilities/Controls.vue +++ b/src/components/utilities/Controls.vue @@ -21,8 +21,8 @@ const waypoint = ref({ y: 0 }) -const { camera, isDragging } = useCameraControls(scene) -const { setupPointerHandlers, cleanupPointerHandlers } = usePointerHandlers(scene, props.layer, waypoint, camera, isDragging) +const { camera } = useCameraControls(scene) +const { setupPointerHandlers, cleanupPointerHandlers } = usePointerHandlers(scene, props.layer, waypoint, camera) setupPointerHandlers() onBeforeUnmount(cleanupPointerHandlers)