[3d] some improvement for load3d recording video (#3794)

This commit is contained in:
Terry Jia
2025-05-06 22:03:12 -04:00
committed by GitHub
parent fad6c6c502
commit 754eb807de
4 changed files with 54 additions and 45 deletions

View File

@@ -68,7 +68,9 @@ const eventConfig = {
},
textureLoadingStart: () =>
loadingOverlayRef.value?.startLoading(t('load3d.applyingTexture')),
textureLoadingEnd: () => loadingOverlayRef.value?.endLoading()
textureLoadingEnd: () => loadingOverlayRef.value?.endLoading(),
recordingStatusChange: (value: boolean) =>
emit('recordingStatusChange', value)
} as const
watchEffect(async () => {
@@ -120,6 +122,7 @@ const emit = defineEmits<{
(e: 'backgroundImageChange', backgroundImage: string): void
(e: 'upDirectionChange', upDirection: string): void
(e: 'edgeThresholdChange', threshold: number): void
(e: 'recordingStatusChange', status: boolean): void
}>()
const handleEvents = (action: 'add' | 'remove') => {