Skip to content

Commit

Permalink
fix: don't update closing points on mouse move
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesLMilner committed Jun 11, 2023
1 parent d1feb71 commit c2b7ce8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/modes/polygon/polygon.mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,6 @@ export class TerraDrawPolygonMode extends TerraDrawBaseDrawMode<PolygonStyling>
},
},
]);

if (this.closingPoints.ids.length) {
this.closingPoints.update(updatedCoordinates);
}
}

/** @internal */
Expand Down

0 comments on commit c2b7ce8

Please sign in to comment.