Skip to content

Commit ea1fd6d

Browse files
authored
fix(geo-editor): dead first click when switching between draw tools (#1020)
Bump maplibre-gl-geo-editor to 0.10.1, which sequences a newly selected draw tool after the previous tool's asynchronous Geoman teardown. Before, enableDraw ran while the prior mode's disableAllModes() was still in flight, so the teardown swallowed the first canvas click and the new tool only started drawing on the second click. Fixes #889
1 parent 485e80a commit ea1fd6d

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

apps/geolibre-desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"maplibre-gl-enviroatlas": "^0.1.1",
6767
"maplibre-gl-esri-wayback": "^0.2.2",
6868
"maplibre-gl-fema-wms": "^0.1.2",
69-
"maplibre-gl-geo-editor": "^0.10.0",
69+
"maplibre-gl-geo-editor": "^0.10.1",
7070
"maplibre-gl-geoagent": "^0.5.4",
7171
"maplibre-gl-lidar": "^0.16.2",
7272
"maplibre-gl-nasa-earthdata": "^0.1.4",

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/plugins/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"maplibre-gl-enviroatlas": "^0.1.1",
3939
"maplibre-gl-esri-wayback": "^0.2.2",
4040
"maplibre-gl-fema-wms": "^0.1.2",
41-
"maplibre-gl-geo-editor": "^0.10.0",
41+
"maplibre-gl-geo-editor": "^0.10.1",
4242
"maplibre-gl-geoagent": "^0.5.4",
4343
"maplibre-gl-lidar": "^0.16.2",
4444
"maplibre-gl-splat": "^0.2.8",

0 commit comments

Comments
 (0)