diff options
author | Valerio Virgillito | 2012-05-04 18:10:52 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-04 18:10:52 -0700 |
commit | 30e837ade2da7cb20caf7c5a69faf0888736bb9a (patch) | |
tree | 3155deaea5616fa09fc96c84567419fec5f288a2 /js/stage | |
parent | 3ebed34665fa73b0ce613b400f3029ebf4476439 (diff) | |
parent | 1b2af54128985c1b622e13ea740a8402e57527cc (diff) | |
download | ninja-30e837ade2da7cb20caf7c5a69faf0888736bb9a.tar.gz |
Merge pull request #195 from mqg734/Dom-Architecture
Fixes for 3d, selection, and keyboard shortcuts
Diffstat (limited to 'js/stage')
-rwxr-xr-x | js/stage/layout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/stage/layout.js b/js/stage/layout.js index 0a76dbe5..9c5e2167 100755 --- a/js/stage/layout.js +++ b/js/stage/layout.js | |||
@@ -156,7 +156,7 @@ exports.Layout = Montage.create(Component, { | |||
156 | drawTagOutline: { | 156 | drawTagOutline: { |
157 | value: function (item) { | 157 | value: function (item) { |
158 | 158 | ||
159 | if(!item || (item.nodeType !== 1)) return; | 159 | if(!item || !this.application.ninja.selectionController.isNodeTraversable(item)) return; |
160 | 160 | ||
161 | // TODO Bind the layoutview mode to the current document | 161 | // TODO Bind the layoutview mode to the current document |
162 | // var mode = this.application.ninja.currentDocument.layoutMode; | 162 | // var mode = this.application.ninja.currentDocument.layoutMode; |