Skip to content

Commit

Permalink
Merge branch 'main' into commit-lint-prs
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesLMilner authored Jan 19, 2025
2 parents 252ff3c + b4a776c commit 9b9bf97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/terra-draw-maplibre-gl-adapter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This package is for the [Terra Draw](https://www.github.com/JamesLMilner/terra-d

## Getting Started

For full getting started instructions for Terra Draw please read the [getting started guide in the GitHub repository](https://github.com/JamesLMilner/terra-draw/blob/main/guides/1.GETTING_STARTED.md). To get started with the MapboxGL adapter, please see the detailed [guide on adapters in the GitHub repository](https://github.com/JamesLMilner/terra-draw/blob/main/guides/3.ADAPTERS.md) to understand which are supported and how to get started with them. The guide has a specific section on the [TerraDrawMapLibreGLAdapter](https://github.com/JamesLMilner/terra-draw/blob/main/guides/3.ADAPTERS.md#maplibre).
For full getting started instructions for Terra Draw please read the [getting started guide in the GitHub repository](https://github.com/JamesLMilner/terra-draw/blob/main/guides/1.GETTING_STARTED.md). To get started with the MapLibre adapter, please see the detailed [guide on adapters in the GitHub repository](https://github.com/JamesLMilner/terra-draw/blob/main/guides/3.ADAPTERS.md) to understand which are supported and how to get started with them. The guide has a specific section on the [TerraDrawMapLibreGLAdapter](https://github.com/JamesLMilner/terra-draw/blob/main/guides/3.ADAPTERS.md#maplibre).


#### Installation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class DragCoordinateBehavior extends TerraDrawModeBehavior {
allowSelfIntersection: boolean,
validateFeature?: Validation,
): boolean {
if (!this.draggedCoordinate.id) {
if (this.draggedCoordinate.id === null) {
return false;
}
const index = this.draggedCoordinate.index;
Expand Down

0 comments on commit 9b9bf97

Please sign in to comment.