summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
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]);