aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js')
-rw-r--r--js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
index 64ac08d3..87fd8282 100644
--- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
+++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js
@@ -469,12 +469,13 @@ var TimelineTrack = exports.TimelineTrack = Montage.create(Component, {
469 469
470 didDraw:{ 470 didDraw:{
471 value:function () { 471 value:function () {
472 if (!this.application.ninja.documentController.creatingNewFile) { 472 if ((!this.application.ninja.documentController.creatingNewFile) || (this.application.ninja.breadCrumbClick)) {
473 if (this.application.ninja.currentDocument.documentRoot.children[0]) { 473 if (this.application.ninja.currentDocument.documentRoot.children[0]) {
474 var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID); 474 var selectedIndex = this.application.ninja.timeline.getLayerIndexByID(this.trackID);
475 if (selectedIndex !== false) { 475 if (selectedIndex !== false) {
476 if (!this.application.ninja.timeline.arrLayers[selectedIndex].layerData.created) { 476 if (!this.application.ninja.timeline.arrLayers[selectedIndex].layerData.created) {
477 this.retrieveStoredTweens(); 477 this.retrieveStoredTweens();
478 this.application.ninja.breadCrumbClick = false;
478 } 479 }
479 } 480 }
480 } 481 }