From 17afc11cd1725dd8851291bf5b1deae91d769e92 Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Sun, 3 Mar 2024 19:14:03 +0100 Subject: [PATCH] fix ts issue --- frontend/viewer/ModelViewerWrapper.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/viewer/ModelViewerWrapper.vue b/frontend/viewer/ModelViewerWrapper.vue index fe589cd..96e1edc 100644 --- a/frontend/viewer/ModelViewerWrapper.vue +++ b/frontend/viewer/ModelViewerWrapper.vue @@ -56,7 +56,7 @@ function positionToHotspot(position: Vector3): string { return position.x + ' ' + position.y + ' ' + position.z; } -function addLine3D(p1: Vector3, p2: Vector3, centerText?: string = undefined, lineAttrs: { [key: string]: string } = { +function addLine3D(p1: Vector3, p2: Vector3, centerText?: string, lineAttrs: { [key: string]: string } = { "stroke-width": "2", "stroke": "red", }): number | null {