From 3263645c3bc29b518b5ebad6eee30e1348ad2a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A5=D0=B0=D0=BB=D0=B8=D0=BC=D0=BE=D0=B2=20=D0=A0=D1=83?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D0=BC?= Date: Sat, 27 Dec 2025 20:02:20 +0300 Subject: [PATCH] Fix --- src/components/PreviewStep.tsx | 37 +++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/src/components/PreviewStep.tsx b/src/components/PreviewStep.tsx index 0193735..132e489 100644 --- a/src/components/PreviewStep.tsx +++ b/src/components/PreviewStep.tsx @@ -140,32 +140,37 @@ export const PreviewStep: React.FC = ({ parts, config, splits }) => { return (
- {/* Верхняя панель */} -
+ {/* Верхняя панель: Размеры + Поделиться */} +
-
-
+
+
Размеры ящика:
-
-
- Ш: {config.drawer.width} + + {/* --- ОБНОВЛЕННЫЙ БЛОК РАЗМЕРОВ --- */} +
+
+ Ширина: + {config.drawer.width}
-
- Г: {config.drawer.depth} +
+ Глубина: + {config.drawer.depth}
-
- В: {config.drawer.height} +
+ Высота: + {config.drawer.height}
- мм + мм
@@ -197,8 +202,8 @@ export const PreviewStep: React.FC = ({ parts, config, splits }) => { camera={{ position: [config.drawer.width * 1.5, config.drawer.height * 3, config.drawer.depth * 1.5], fov: 45, - near: 1, // Исправлено: не режем вблизи - far: 20000 // Исправлено: видим очень далеко (для больших размеров в мм) + near: 1, + far: 20000 }} >