mirror of
https://github.com/google/blockly.git
synced 2026-01-06 16:40:07 +01:00
fix: connection locations not updating (#6921)
* fix: connection locations not updating * chore: update TODO
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user