Skip to content

Commit bdf45cc

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

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
@@ -561,7 +561,8 @@ export class GraphModel {
561561
if (edgeMode.isDragging) {
562562
edgeDragging = true
563563
break
564-
} else {
564+
}
565+
if (!edgeMode.virtual) {
565566
edges.push(edgeMode.getHistoryData())
566567
}
567568
}

0 commit comments

Comments
 (0)