diff options
author | Valerio Virgillito | 2012-06-11 17:03:16 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-11 17:03:16 -0700 |
commit | 6854a72504f57903bd5de003e377f2aefb02d0da (patch) | |
tree | 5dff803d67722595418e69f6cce9ec8a1a616f2f /js/tools/TranslateObject3DTool.js | |
parent | 756cbfad2b98b300af8db3793aa21718b88dd950 (diff) | |
parent | f4ad120c1a0d8594b8741eb1b07fdbd4fefcadeb (diff) | |
download | ninja-6854a72504f57903bd5de003e377f2aefb02d0da.tar.gz |
Merge pull request #288 from mencio/dom-container
Dom container - Fixing the current selected container
Diffstat (limited to 'js/tools/TranslateObject3DTool.js')
-rwxr-xr-x | js/tools/TranslateObject3DTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/TranslateObject3DTool.js b/js/tools/TranslateObject3DTool.js index f8b32d23..d9e558a4 100755 --- a/js/tools/TranslateObject3DTool.js +++ b/js/tools/TranslateObject3DTool.js | |||
@@ -89,7 +89,7 @@ exports.TranslateObject3DTool = Montage.create(Translate3DToolBase, { | |||
89 | var otherSnap = snapManager.findHitRecordForElement(elt); | 89 | var otherSnap = snapManager.findHitRecordForElement(elt); |
90 | if (otherSnap) hitRec = otherSnap; | 90 | if (otherSnap) hitRec = otherSnap; |
91 | } | 91 | } |
92 | if(elt === this.application.ninja.currentSelectedContainer) | 92 | if(elt === this.application.ninja.currentDocument.model.domContainer) |
93 | { | 93 | { |
94 | this._clickedOnStage = true; | 94 | this._clickedOnStage = true; |
95 | } | 95 | } |