variable autoPanSpeed

This commit is contained in:
peterkogo
2024-07-04 16:33:45 +02:00
parent 0589b89d0e
commit 3f259e9662
10 changed files with 37 additions and 10 deletions
@@ -139,6 +139,7 @@ function HandleComponent(
isValidConnection: isValidConnection || currentStore.isValidConnection,
getTransform: () => store.getState().transform,
getFromHandle: () => store.getState().connection.fromHandle,
autoPanSpeed: currentStore.autoPanSpeed,
});
}
@@ -66,6 +66,7 @@ const reactFlowFieldsToTrack = [
'nodeDragThreshold',
'onBeforeDelete',
'debug',
'autoPanSpeed',
] as const;
type ReactFlowFieldsToTrack = (typeof reactFlowFieldsToTrack)[number];