diff options
author | Kruti Shah | 2012-06-19 11:30:45 -0700 |
---|---|---|
committer | Kruti Shah | 2012-06-19 11:30:45 -0700 |
commit | e31c80f4162485ff7ac213609a6640c5fba4873e (patch) | |
tree | 876ead2694cad60928cc37be268d92a703940897 /js/panels | |
parent | bd46eee87a4f84871169546c10795678131f9ed9 (diff) | |
download | ninja-e31c80f4162485ff7ac213609a6640c5fba4873e.tar.gz |
Layer Lock
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/panels')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index f6d75dca..970f2b65 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -543,6 +543,8 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
543 | this.docUUID = this.layerData.docUUID; | 543 | this.docUUID = this.layerData.docUUID; |
544 | this.selectedStyleIndex = this.layerData.selectedStyleIndex; | 544 | this.selectedStyleIndex = this.layerData.selectedStyleIndex; |
545 | this.needsDraw = boolNeedsDraw; | 545 | this.needsDraw = boolNeedsDraw; |
546 | this.isLock = this.layerData.isLock; | ||
547 | this.isHidden = this.layerData.isHidden; | ||
546 | } | 548 | } |
547 | }, | 549 | }, |
548 | 550 | ||
@@ -590,6 +592,8 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
590 | this.mainCollapser.clicker.addEventListener("click", this.handleMainCollapserClick.bind(this), false); | 592 | this.mainCollapser.clicker.addEventListener("click", this.handleMainCollapserClick.bind(this), false); |
591 | this.positionCollapser.clicker.addEventListener("click", this.handlePositionCollapserClick.bind(this), false); | 593 | this.positionCollapser.clicker.addEventListener("click", this.handlePositionCollapserClick.bind(this), false); |
592 | this.styleCollapser.clicker.addEventListener("click", this.handleStyleCollapserClick.bind(this), false); | 594 | this.styleCollapser.clicker.addEventListener("click", this.handleStyleCollapserClick.bind(this), false); |
595 | this.layerLock.addEventListener("click",this.handleLayerLock.bind(this),false); | ||
596 | this.visibilityButton.addEventListener("click",this.handleLayerVisibility.bind(this),false); | ||
593 | 597 | ||
594 | // Add event listeners to add and delete style buttons | 598 | // Add event listeners to add and delete style buttons |
595 | this.buttonAddStyle.addEventListener("click", this.handleAddStyleClick.bind(this), false); | 599 | this.buttonAddStyle.addEventListener("click", this.handleAddStyleClick.bind(this), false); |