aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
index 1ef57b13..87e7bd2e 100644
--- a/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
+++ b/js/panels/Timeline/TimelinePanel.reel/TimelinePanel.js
@@ -1119,6 +1119,17 @@ var TimelinePanel = exports.TimelinePanel = Montage.create(Component, {
1119 1119
1120 // Deselect selected layers if they're not in arrSelectedIndexes. 1120 // Deselect selected layers if they're not in arrSelectedIndexes.
1121 for (i = 0; i < arrLayersLength; i++) { 1121 for (i = 0; i < arrLayersLength; i++) {
1122
1123 debugger;
1124 if([i]===arrSelectedIndexes){
1125 if(this.arrLayers[i].layerData.isLock){
1126 this.arrLayers[i].layerData.isSelected = false;
1127 }else{
1128 this.arrLayers[i].layerData.isSelected = true;
1129 }
1130 }else{
1131 this.arrLayers[i].layerData.isSelected = false;
1132 }
1122 if (this.arrLayers[i].layerData.isSelected === true) { 1133 if (this.arrLayers[i].layerData.isSelected === true) {
1123 if (arrSelectedIndexes.indexOf(i) < 0) { 1134 if (arrSelectedIndexes.indexOf(i) < 0) {
1124 1135