Commit ea1fd6d
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 #8891 parent 485e80a commit ea1fd6d
3 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments