fix: connection locations not updating (#6921)

* fix: connection locations not updating

* chore: update TODO
This commit is contained in:
Beka Westberg
2023-03-24 12:58:33 -07:00
committed by GitHub
parent faa95d022d
commit 0708c97ffe

View File

@@ -187,7 +187,9 @@ export class RenderedConnection extends Connection {
* was updated.
*/
moveTo(x: number, y: number): boolean {
const moved = this.x !== x || this.y !== y;
// TODO(#6922): Readd this optimization.
// const moved = this.x !== x || this.y !== y;
const moved = true;
let updated = false;
if (this.trackedState_ === RenderedConnection.TrackedState.WILL_TRACK) {