fix pan speed
This commit is contained in:
@@ -2790,6 +2790,7 @@ function Flow() {
|
|||||||
colorMode="dark"
|
colorMode="dark"
|
||||||
panOnDrag={[1]}
|
panOnDrag={[1]}
|
||||||
panOnScroll
|
panOnScroll
|
||||||
|
panOnScrollSpeed={1.5}
|
||||||
panOnScrollMode={PanOnScrollMode.Free}
|
panOnScrollMode={PanOnScrollMode.Free}
|
||||||
zoomOnScroll={false}
|
zoomOnScroll={false}
|
||||||
selectionOnDrag
|
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