diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 09dd94a..a28f1ff 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -2790,6 +2790,7 @@ function Flow() { colorMode="dark" panOnDrag={[1]} panOnScroll + panOnScrollSpeed={1.5} panOnScrollMode={PanOnScrollMode.Free} zoomOnScroll={false} selectionOnDrag diff --git a/frontend/src/runtimeValuePersistence.js b/frontend/src/runtimeValuePersistence.js new file mode 100644 index 0000000..763d146 --- /dev/null +++ b/frontend/src/runtimeValuePersistence.js @@ -0,0 +1,10 @@ +export function sanitizeRuntimeValuesForPersistence(className, runtimeValues) { + if (!runtimeValues || typeof runtimeValues !== 'object' || Array.isArray(runtimeValues)) { + return {}; + } + + if (className === 'View3D') { + return {}; + } + return { ...runtimeValues }; +}