[3d] bugfix for preview manager (#4147)

This commit is contained in:
Terry Jia
2025-06-13 20:34:45 -04:00
committed by GitHub
parent 88f2cc7847
commit 78ebc54ebe

View File

@@ -5,7 +5,7 @@ import { EventManagerInterface, PreviewManagerInterface } from './interfaces'
export class PreviewManager implements PreviewManagerInterface {
previewCamera: THREE.Camera
previewContainer: HTMLDivElement = {} as HTMLDivElement
previewContainer: HTMLDivElement = null!
showPreview: boolean = true
previewWidth: number = 120