#7711 Fixed movement when network link is deleted
This commit is contained in:
parent
cd500fe67b
commit
64c9ed4453
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -567,6 +567,10 @@ export default class VisualConsole {
|
|||
|
||||
Object.keys(this.lineLinks[item.id]).forEach(i => {
|
||||
let lineId = parseInt(i);
|
||||
const found = this.elementIds.indexOf(lineId);
|
||||
if (found === -1) {
|
||||
return;
|
||||
}
|
||||
let line = this.elementsById[lineId] as Line;
|
||||
if (line.props) {
|
||||
let startX = line.props.startPosition.x;
|
||||
|
|
Loading…
Reference in New Issue