diff options
author | Jonathan Duran | 2012-06-19 08:40:44 -0700 |
---|---|---|
committer | Jonathan Duran | 2012-06-19 08:40:44 -0700 |
commit | 53a49f49ce5cd72fbb21e2840bb9622d5952d953 (patch) | |
tree | f1af9c311e7a72a03e3e521a88410fd75aca05e8 /js/panels/Timeline/TimelinePanel.reel | |
parent | 6f25a2e70079de6bcbb8c3411ddef88c2ed1ea39 (diff) | |
parent | e600253fa8e6027c4bac7ebb69e0d4ce12a76ff8 (diff) | |
download | ninja-53a49f49ce5cd72fbb21e2840bb9622d5952d953.tar.gz |
Merge branch 'refs/heads/timeline-local' into TimelineUber
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 27b3537c..339ca5a4 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -1016,7 +1016,12 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
1016 | //console.log(this.trackRepetition); | 1016 | //console.log(this.trackRepetition); |
1017 | var tempEv = {}; | 1017 | var tempEv = {}; |
1018 | tempEv.offsetX = this.playheadmarker.offsetLeft; | 1018 | tempEv.offsetX = this.playheadmarker.offsetLeft; |
1019 | this.trackRepetition.childComponents[this.currentLayersSelected[0]].handleKeyboardShortcut(tempEv); | 1019 | if (typeof(this.trackRepetition.childComponents[this.currentLayersSelected[0]]) !== "undefined") { |
1020 | this.trackRepetition.childComponents[this.currentLayersSelected[0]].handleKeyboardShortcut(tempEv); | ||
1021 | } else { | ||
1022 | // oops, we do not have a layer selected. We should growl at the user. For now, this will fail silently. | ||
1023 | } | ||
1024 | |||
1020 | } | 1025 | } |
1021 | }, | 1026 | }, |
1022 | 1027 | ||