mapshaper 0.6.85 → 0.6.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/mapshaper.js CHANGED
@@ -45574,7 +45574,7 @@ ${svg}
45574
45574
  });
45575
45575
  }
45576
45576
 
45577
- var version = "0.6.85";
45577
+ var version = "0.6.86";
45578
45578
 
45579
45579
  // Parse command line args into commands and run them
45580
45580
  // Function takes an optional Node-style callback. A Promise is returned if no callback is given.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapshaper",
3
- "version": "0.6.85",
3
+ "version": "0.6.86",
4
4
  "description": "A tool for editing vector datasets for mapping and GIS.",
5
5
  "keywords": [
6
6
  "shapefile",
Binary file
@@ -2428,7 +2428,7 @@
2428
2428
  function error() {
2429
2429
  var msg = GUI.formatMessageArgs(arguments);
2430
2430
  console.error(msg);
2431
- gui.alert('An unkown error occured');
2431
+ gui.alert('An unknown error occured');
2432
2432
  throw new Error(msg);
2433
2433
  }
2434
2434
 
@@ -8817,7 +8817,9 @@
8817
8817
  }
8818
8818
  });
8819
8819
  element.addEventListener('contextmenu', function(e) {
8820
- _self.dispatchEvent('contextmenu', procMouseEvent(e));
8820
+ if (!e.ctrlKey) {
8821
+ _self.dispatchEvent('contextmenu', procMouseEvent(e));
8822
+ }
8821
8823
  });
8822
8824
 
8823
8825
  this.enable = function() {
@@ -10404,12 +10406,12 @@
10404
10406
  } else {
10405
10407
  deleteLastVertex(target);
10406
10408
  }
10407
- if (getLastArcLength(target) < 2) {
10408
- gui.undo.undo(); // remove the path
10409
- }
10410
10409
  if (e.shapes) {
10411
10410
  replaceDrawnShapes(e.shapes);
10412
10411
  }
10412
+ if (getLastArcLength(target) < 2) {
10413
+ gui.undo.undo(); // remove the path
10414
+ }
10413
10415
  });
10414
10416
 
10415
10417
  function turnOn() {
package/www/mapshaper.js CHANGED
@@ -45574,7 +45574,7 @@ ${svg}
45574
45574
  });
45575
45575
  }
45576
45576
 
45577
- var version = "0.6.85";
45577
+ var version = "0.6.86";
45578
45578
 
45579
45579
  // Parse command line args into commands and run them
45580
45580
  // Function takes an optional Node-style callback. A Promise is returned if no callback is given.
package/www/page.css CHANGED
@@ -1193,8 +1193,8 @@ div.basemap-style-btn.active {
1193
1193
  }
1194
1194
 
1195
1195
  .basemap-style-btn.basemap-overlay-btn {
1196
- width: 35px;
1197
- height: 35px;
1196
+ width: 40px;
1197
+ height: 40px;
1198
1198
  margin: 3px;
1199
1199
  overflow: hidden;
1200
1200
  display: inline-block;