fix pan speed
This commit is contained in:
@@ -2790,6 +2790,7 @@ function Flow() {
|
||||
colorMode="dark"
|
||||
panOnDrag={[1]}
|
||||
panOnScroll
|
||||
panOnScrollSpeed={1.5}
|
||||
panOnScrollMode={PanOnScrollMode.Free}
|
||||
zoomOnScroll={false}
|
||||
selectionOnDrag
|
||||
|
||||
10
frontend/src/runtimeValuePersistence.js
Normal file
10
frontend/src/runtimeValuePersistence.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export function sanitizeRuntimeValuesForPersistence(className, runtimeValues) {
|
||||
if (!runtimeValues || typeof runtimeValues !== 'object' || Array.isArray(runtimeValues)) {
|
||||
return {};
|
||||
}
|
||||
|
||||
if (className === 'View3D') {
|
||||
return {};
|
||||
}
|
||||
return { ...runtimeValues };
|
||||
}
|
||||
Reference in New Issue
Block a user