Handle drawing double click better
This commit is contained in:
parent
ee40ae2a69
commit
b984e32ab4
@ -1,5 +1,6 @@
|
||||
### Change Log for Node-RED Worldmap
|
||||
|
||||
- v2.43.1 - Tweak drawing layer double click
|
||||
- v2.43.0 - Revert leaflet update as it broke Draw
|
||||
- v2.42.3 - More KML and GEOJson drag drop fixes
|
||||
- v2.42.1 - Remove extraneous debug logging, fix KMZ icons
|
||||
|
@ -13,6 +13,7 @@ Feel free to [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%
|
||||
|
||||
### Updates
|
||||
|
||||
- v2.43.1 - Tweak drawing layer double click
|
||||
- v2.43.0 - Revert leaflet update as it broke Draw
|
||||
- v2.42.3 - More KML and GEOJson drag drop fixes
|
||||
- v2.42.1 - Remove extraneous debug logging, fix KMZ icons
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "node-red-contrib-web-worldmap",
|
||||
"version": "2.43.0",
|
||||
"version": "2.43.1",
|
||||
"description": "A Node-RED node to provide a web page of a world map for plotting things on.",
|
||||
"dependencies": {
|
||||
"@turf/bezier-spline": "~6.5.0",
|
||||
@ -42,6 +42,6 @@
|
||||
"@HiroyasuNishiyama"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
"node": ">=14"
|
||||
}
|
||||
}
|
||||
|
@ -1411,7 +1411,7 @@ var editPoly = function(pname) {
|
||||
polygons[pname].on("dblclick", function(e) {
|
||||
editHandler.disable();
|
||||
editFeatureGroup.removeLayer(polygons[pname]);
|
||||
polygons[pname].off("dblclick");
|
||||
// polygons[pname].off("dblclick");
|
||||
L.DomEvent.stopPropagation(e);
|
||||
var la, lo;
|
||||
if (e.target.hasOwnProperty("_latlng")) {
|
||||
|
Loading…
Reference in New Issue
Block a user