aboutsummaryrefslogtreecommitdiff
path: root/js/stage
diff options
context:
space:
mode:
Diffstat (limited to 'js/stage')
-rwxr-xr-xjs/stage/stage.reel/stage.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index 4c4ba6c9..cd08c55d 100755
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -187,8 +187,18 @@ exports.Stage = Montage.create(Component, {
187 drawUtils._eltArray.length = 0; 187 drawUtils._eltArray.length = 0;
188 drawUtils._planesArray.length = 0; 188 drawUtils._planesArray.length = 0;
189 } else if(this._currentDocument.currentView === "design") { 189 } else if(this._currentDocument.currentView === "design") {
190 this.showCodeViewBar(false);
191 this.restoreAllPanels();
192 this.hideCanvas(false);
193 this.showRulers();
194
190 this.clearAllCanvas(); 195 this.clearAllCanvas();
191 this.initWithDocument(false); 196 this.initWithDocument(false);
197 } else {
198 this.showCodeViewBar(true);
199 this.collapseAllPanels();
200 this.hideCanvas(true);
201 this.hideRulers();
192 } 202 }
193 } 203 }
194 }, 204 },