From 94548a63960fba2610a6997f0ec2304e4c847feb Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 11 Apr 2026 14:28:18 +0200 Subject: [PATCH] Update whitebox snap step retrieval in App.tsx --- src/app/App.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 3750a142..6d6e9613 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1738,10 +1738,7 @@ export function App({ store, initialStatusMessage }: AppProps) { const canScaleSelectedTarget = selectedTransformTarget !== null && supportsTransformOperation(selectedTransformTarget, "scale"); - const whiteboxSnapStep = resolveOptionalPositiveNumber( - whiteboxSnapStepDraft, - DEFAULT_GRID_SIZE - ); + const whiteboxSnapStep = editorState.whiteboxSnapStep; const whiteboxVectorInputStep = getWhiteboxInputStep( whiteboxSnapEnabled, whiteboxSnapStep