We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecdf666 commit 8ec01eeCopy full SHA for 8ec01ee
packages/core/src/LogicFlow.tsx
@@ -899,9 +899,8 @@ export class LogicFlow {
899
if (!isNil(config?.snapGrid) && config.snapGrid !== currentSnapGrid) {
900
const {
901
grid: { size = 1 },
902
- editConfigModel: { snapGrid },
903
} = this.graphModel
904
- this.graphModel.updateGridSize(snapGrid ? size : 1)
+ this.graphModel.updateGridSize(config.snapGrid ? size : 1)
905
}
906
907
0 commit comments