summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorCode WvS <code-wvs@quantentunnel.de>2015-03-08 12:01:54 +0100
committerCode WvS <code-wvs@quantentunnel.de>2015-03-08 12:01:54 +0100
commit9ca58570819d895261734076af45b4c8c5d7b075 (patch)
tree1ae996146b9a89573bb6a66eb426ef80ffc3f390 /gui.js
parente9282585122bdd21ae4a8ebe2463eb75290baebf (diff)
downloadsnap-yow-9ca58570819d895261734076af45b4c8c5d7b075.tar.gz
snap-yow-9ca58570819d895261734076af45b4c8c5d7b075.zip
differ between shapes and lines
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui.js b/gui.js
index 8cd3aaa..ed01c23 100644
--- a/gui.js
+++ b/gui.js
@@ -2836,6 +2836,8 @@ IDE_Morph.prototype.newProject = function () {
window.map.removeLayer(window.penTrails);
}
window.penTrails = L.layerGroup().addTo(window.map);
+ window.penShapes = L.layerGroup().addTo(window.penTrails);
+ window.penLines = L.layerGroup().addTo(window.penTrails);
this.currentSprite = new SpriteMorph(this.globalVariables);
this.sprites = new List([this.currentSprite]);