修改指针高亮的bug
This commit is contained in:
parent
7eee29ce32
commit
b2aee6ed0a
@ -77,7 +77,7 @@ export class SVLink extends SVModel {
|
||||
}
|
||||
|
||||
isEqual(link: SVLink): boolean {
|
||||
return link.targetId === this.targetId && link.nodeId === this.nodeId && link.linkIndex === this.linkIndex;
|
||||
return (link.sourceType.includes(this.sourceType.toLocaleLowerCase())|| this.sourceType.includes(link.sourceType.toLowerCase())) && link.targetId === this.targetId && link.nodeId === this.nodeId && link.linkIndex === this.linkIndex;
|
||||
}
|
||||
|
||||
beforeDestroy(): void {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user