From d458b785283c096ccd01acabfb589feb64e22163 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Thu, 21 May 2026 13:07:28 +0000 Subject: [PATCH 1/2] Changes Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com> --- src/components/three/ModelViewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/three/ModelViewer.tsx b/src/components/three/ModelViewer.tsx index 20c8f9d..f874c4b 100644 --- a/src/components/three/ModelViewer.tsx +++ b/src/components/three/ModelViewer.tsx @@ -230,7 +230,7 @@ function useLabelDistanceFactor(position: [number, number, number]): number { function MeasurementLabel({ position, text, variant, fixed = false }: { position: [number, number, number]; text: string; variant: 'success' | 'primary'; fixed?: boolean }) { const dfDynamic = useLabelDistanceFactor(position); - const df = fixed ? dfDynamic : 8; + const df = fixed ? dfDynamic : 1.5; const borderClass = variant === 'success' ? 'border-success/60' : 'border-primary/60'; const textClass = variant === 'success' ? 'text-success' : 'text-primary'; return ( From 4b1796216acb802d654bdeac9e88609e011332bc Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Thu, 21 May 2026 13:07:35 +0000 Subject: [PATCH 2/2] Changes Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com> --- src/components/three/ModelViewer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/three/ModelViewer.tsx b/src/components/three/ModelViewer.tsx index f874c4b..41e04ee 100644 --- a/src/components/three/ModelViewer.tsx +++ b/src/components/three/ModelViewer.tsx @@ -235,8 +235,8 @@ function MeasurementLabel({ position, text, variant, fixed = false }: { position const textClass = variant === 'success' ? 'text-success' : 'text-primary'; return ( -
- +
+ {text}