Skip to content

Commit

Permalink
Merge branch 'main' into add-features-multi-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesLMilner authored Jan 19, 2025
2 parents e5b183f + 14c2599 commit 93b756b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 20 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/commit-lint-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: PR Conventional Commit Validation

permissions:
pull-requests: read

on:
pull_request:
types: [opened, synchronize, reopened, edited]

jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation Against Commit Lint Config
- run: echo "${{ github.event.pull_request.title }}" | npx commitlint
18 changes: 0 additions & 18 deletions .github/workflows/conventional-commit-prs.yml

This file was deleted.

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 93b756b

Please sign in to comment.