Skip to content

Commit b610ac8

Browse files
z-pangolinDymoneLewis
authored andcommitted
fix:修复在撤销步骤中将渐进连线算入操作历史的问题
1 parent c99dca0 commit b610ac8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/core/src/model/GraphModel.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,8 @@ export class GraphModel {
576576
if (edgeMode.isDragging) {
577577
edgeDragging = true
578578
break
579-
} else {
579+
}
580+
if (!edgeMode.virtual) {
580581
edges.push(edgeMode.getHistoryData())
581582
}
582583
}

0 commit comments

Comments
 (0)