diff options
Diffstat (limited to 'js/panels/Timeline/TimelineTrack.reel')
-rw-r--r-- | js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js index 84d93ea3..aacddd3b 100644 --- a/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js +++ b/js/panels/Timeline/TimelineTrack.reel/TimelineTrack.js | |||
@@ -469,13 +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) || (this.application.ninja.breadCrumbClick)) { | 472 | if ((!this.application.ninja.documentController.creatingNewFile) || (!this.application.ninja.currentDocument.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 | } | 481 | } |