From f0e61cb74c790559d39c82968f59bccc85e7d246 Mon Sep 17 00:00:00 2001 From: Formsmith <214276465+Formsmith746@users.noreply.github.com> Date: Fri, 24 Jul 2026 21:32:34 +0300 Subject: [PATCH] fix: sync sketch workspace dimensions --- apps/web/src/components/SketchForgeEditor.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/src/components/SketchForgeEditor.tsx b/apps/web/src/components/SketchForgeEditor.tsx index 5ee8c57..3a87345 100644 --- a/apps/web/src/components/SketchForgeEditor.tsx +++ b/apps/web/src/components/SketchForgeEditor.tsx @@ -8533,8 +8533,8 @@ export function SketchForgeEditor({ selected={sketchSelection} measurement={sketchMeasurement} pendingMeasurementStart={sketchMeasureStart} - initialSnap={initialSnap} - initialWorkspace={initialWorkspace} + initialSnap={snapGrid} + initialWorkspace={workspaceSettings} onPlanePoint={addSketchPlanePoint} onPointPress={pressSketchPoint} onSelectSegment={(id) => { @@ -8574,8 +8574,8 @@ export function SketchForgeEditor({ mirrorReferenceShapes={shapes} placementElevation={placementElevation} workplaneMode={workplaneMode} - initialSnap={initialSnap} - initialWorkspace={initialWorkspace} + initialSnap={snapGrid} + initialWorkspace={workspaceSettings} workspaceSettingsKey={projectId ?? "local-workplane"} onAddShape={addShape} onAlignAnchorChange={chooseAlignAnchor}