aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
Diffstat (limited to 'js/stage')
-rw-r--r--js/stage/layout.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/stage/layout.js b/js/stage/layout.js
index dd5be081..c369fc30 100644
--- a/js/stage/layout.js
+++ b/js/stage/layout.js
@@ -74,6 +74,9 @@ exports.Layout = Montage.create(Component, {
74 handleElementAdded: { 74 handleElementAdded: {
75 value: function(event) { 75 value: function(event) {
76 this.domTree.push(event.detail); 76 this.domTree.push(event.detail);
77
78 this.draw();
79 this.draw3DInfo(false);
77 } 80 }
78 }, 81 },
79 82
@@ -82,6 +85,7 @@ exports.Layout = Montage.create(Component, {
82 this.domTree.splice(this.domTree.indexOf(event.detail), 1); 85 this.domTree.splice(this.domTree.indexOf(event.detail), 1);
83 86
84 this.draw(); 87 this.draw();
88 this.draw3DInfo(false);
85 } 89 }
86 }, 90 },
87 91