Skip to content

Commit

Permalink
fix(OrbitControls): expose ref (#250)
Browse files Browse the repository at this point in the history
* fix(OrbitControls): expose ref

* chore(OrbitControls): fix linter error
  • Loading branch information
andretchen0 authored Oct 15, 2023
1 parent 106914e commit 0f1d162
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/controls/OrbitControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ onUnmounted(() => {
controlsRef.value.dispose()
}
})
defineExpose({ value: controlsRef })
</script>

<template>
Expand Down

0 comments on commit 0f1d162

Please sign in to comment.