diff options
author | Ananya Sen | 2012-02-20 12:04:57 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-20 12:04:57 -0800 |
commit | 50e555587d3a97dbfc75c33f3589cfccee392180 (patch) | |
tree | 5b7c9329c13e457b5aa4f10c24b105e5cb75816a /js/controllers/document-controller.js | |
parent | 8fdce771bfcf662cf1acc16d45e4361ffd06c53e (diff) | |
download | ninja-50e555587d3a97dbfc75c33f3589cfccee392180.tar.gz |
- moved tools specific keyboard controls for desing view only
- stopped snapping when all documents are closed
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/controllers/document-controller.js')
-rwxr-xr-x | js/controllers/document-controller.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js index 57289448..f8507086 100755 --- a/js/controllers/document-controller.js +++ b/js/controllers/document-controller.js | |||
@@ -303,6 +303,8 @@ var DocumentController = exports.DocumentController = Montage.create(Component, | |||
303 | this._removeDocumentView(doc.container); | 303 | this._removeDocumentView(doc.container); |
304 | this.application.ninja.stage.stageView.hideRulers(); | 304 | this.application.ninja.stage.stageView.hideRulers(); |
305 | document.getElementById("iframeContainer").style.display="block"; | 305 | document.getElementById("iframeContainer").style.display="block"; |
306 | |||
307 | this.application.ninja.stage.hideCanvas(true); | ||
306 | } | 308 | } |
307 | } | 309 | } |
308 | }, | 310 | }, |