summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-23 18:34:03 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-23 18:34:03 +0100
commitc5f239f0dcb9bfa9f3786b237a1c40bb1976bb12 (patch)
tree9e1bd9759bf14c40d7b6c41e8cebbb7e5d0d7ffe
parentda81f983ff2d4d594485859f72b9e4bea5dccac9 (diff)
downloadsnap-yow-c5f239f0dcb9bfa9f3786b237a1c40bb1976bb12.tar.gz
snap-yow-c5f239f0dcb9bfa9f3786b237a1c40bb1976bb12.zip
short note
-rw-r--r--objects.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/objects.js b/objects.js
index e07789b..04918e8 100644
--- a/objects.js
+++ b/objects.js
@@ -2940,6 +2940,7 @@ SpriteMorph.prototype.up = function (mode) {
if (window.polylines[this.myPolylineIndex].getLatLngs().length < 3)
return;
+ // Note to future self: You might want to improve this with https://www.mapbox.com/mapbox.js/example/v1.0.0/turf/
if (this.penMode == 'a shape') {
// transform the line that has just been finished into a polygon
window.polygons[window.polygonIndex++] = L.polygon(