Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
manniL committed Jul 23, 2024
1 parent 82fa2ca commit 58eb37f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/core/controls/DragControls.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface TransformControlsProps {
* @memberof OrbitControlsProps
* @see https://threejs.org/docs/#examples/en/controls/OrbitControls.domElement
*/
domElement?: HTMLElement
domElement?: HTMLElement
}
withDefaults(defineProps<TransformControlsProps>(), {
Expand All @@ -34,7 +34,7 @@ const controlsRef = ref<DragControls | null>(null)
extend({ DragControls })
watchEffect(() => {
if(controlsRef.value) {
if (controlsRef.value) {
addEventListeners()
}
})
Expand Down Expand Up @@ -63,7 +63,7 @@ defineExpose({ value: controlsRef })
:objects="objects"
:camera="camera || activeCamera"
:mode="mode"
:enabled="enabled"
:enabled="enabled"
:args="[objects, camera || activeCamera, domElement || renderer.domElement]"
/>
</template>
</template>
2 changes: 1 addition & 1 deletion src/core/controls/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ export {
ScrollControls,
CameraControls,
BaseCameraControls,
DragControls
DragControls,
}

0 comments on commit 58eb37f

Please sign in to comment.