aboutsummaryrefslogtreecommitdiff
path: root/js/tools/SelectionTool.js
diff options
context:
space:
mode:
authorJonathan Duran2012-04-19 13:58:42 -0700
committerJonathan Duran2012-04-19 13:58:42 -0700
commit4465a66996f2b022ab9e838e028415fd87cfa405 (patch)
treeea8404b7dd06f40407a9ed70118362b38697a733 /js/tools/SelectionTool.js
parent978c53b8e1e2476bb47c15717bf2bb3aacf3948d (diff)
parentb7d5b9e9b69644cdafdcc9b7ef2fe2674f35db18 (diff)
downloadninja-4465a66996f2b022ab9e838e028415fd87cfa405.tar.gz
Merge branch 'timeline-local' of github.com:ntfx47/ninja-internal into TimelineUber
Diffstat (limited to 'js/tools/SelectionTool.js')
-rwxr-xr-xjs/tools/SelectionTool.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tools/SelectionTool.js b/js/tools/SelectionTool.js
index abf45365..30e56b28 100755
--- a/js/tools/SelectionTool.js
+++ b/js/tools/SelectionTool.js
@@ -221,10 +221,10 @@ var SelectionTool = exports.SelectionTool = Montage.create(ModifierToolBase, {
221 HandleDoubleClick: { 221 HandleDoubleClick: {
222 value: function(event) { 222 value: function(event) {
223 if(this.application.ninja.selectedElements.length > 0) { 223 if(this.application.ninja.selectedElements.length > 0) {
224 this.application.ninja.breadCrumbClick = true; 224 this.application.ninja.currentDocument.breadCrumbClick = true;
225 this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0]; 225 this.application.ninja.currentSelectedContainer = this.application.ninja.selectedElements[0];
226 } else { 226 } else {
227 this.application.ninja.breadCrumbClick = true; 227 this.application.ninja.currentDocument.breadCrumbClick = true;
228 this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot; 228 this.application.ninja.currentSelectedContainer = this.application.ninja.currentDocument.documentRoot;
229 } 229 }
230 } 230 }