diff options
Diffstat (limited to 'js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js')
-rw-r--r-- | js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js index 3d109bc1..27b3537c 100644 --- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js +++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js | |||
@@ -1934,6 +1934,20 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, { | |||
1934 | return false; | 1934 | return false; |
1935 | } | 1935 | } |
1936 | }, | 1936 | }, |
1937 | |||
1938 | getActiveLayerIndex: { | ||
1939 | value: function() { | ||
1940 | var i = 0, | ||
1941 | returnVal = false, | ||
1942 | arrLayersLength = this.arrLayers.length; | ||
1943 | for (i = 0; i < arrLayersLength; i++) { | ||
1944 | if (this.arrLayers[i].isSelected === true) { | ||
1945 | returnVal = i; | ||
1946 | } | ||
1947 | } | ||
1948 | return returnVal; | ||
1949 | } | ||
1950 | }, | ||
1937 | /* === END: Controllers === */ | 1951 | /* === END: Controllers === */ |
1938 | 1952 | ||
1939 | /* === BEGIN: Logging routines === */ | 1953 | /* === BEGIN: Logging routines === */ |