aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Layer.reel/Layer.js
diff options
context:
space:
mode:
authorJonathan Duran2012-05-09 09:47:31 -0700
committerJonathan Duran2012-05-09 09:47:31 -0700
commit40670fd9a723fe6f95fe6c1ceefa0d2435b83aa4 (patch)
treefb4e4182a7745939678bd8e030c50ce0c4d5d087 /js/panels/Timeline/Layer.reel/Layer.js
parent7248949e27486992a03a26b636f22a5e476b1424 (diff)
downloadninja-40670fd9a723fe6f95fe6c1ceefa0d2435b83aa4.tar.gz
sub property additions
Signed-off-by: Jonathan Duran <jduran@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r--js/panels/Timeline/Layer.reel/Layer.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js
index c9dd5328..9fb33956 100644
--- a/js/panels/Timeline/Layer.reel/Layer.js
+++ b/js/panels/Timeline/Layer.reel/Layer.js
@@ -60,7 +60,7 @@ var Layer = exports.Layer = Montage.create(Component, {
60 } 60 }
61 }, 61 },
62 _styleCounter : { 62 _styleCounter : {
63 value: 0 63 value: 4
64 }, 64 },
65 styleCounter:{ 65 styleCounter:{
66 serializable:true, 66 serializable:true,
@@ -557,7 +557,7 @@ var Layer = exports.Layer = Montage.create(Component, {
557 // Or at the end, if no rule is selected. 557 // Or at the end, if no rule is selected.
558 558
559 var newLength = 0, 559 var newLength = 0,
560 mySelection = 0, 560 // mySelection = 0,
561 // newStyle = LayerStyle.create(), 561 // newStyle = LayerStyle.create(),
562 newStyle = {}, 562 newStyle = {},
563 newEvent = document.createEvent("CustomEvent"); 563 newEvent = document.createEvent("CustomEvent");
@@ -571,7 +571,7 @@ var Layer = exports.Layer = Montage.create(Component, {
571 newEvent.layerEventType = "newStyle"; 571 newEvent.layerEventType = "newStyle";
572 newEvent.layerID = this.layerID; 572 newEvent.layerID = this.layerID;
573 newEvent.styleIndex = this.styleCounter; 573 newEvent.styleIndex = this.styleCounter;
574 newEvent.styleID = this.layerID + "@" + this.styleCounter; 574 newEvent.styleID = this.layerID + "@" + this.styleCounter; // is this property needed?
575 575
576 newStyle.styleID = newEvent.styleID; 576 newStyle.styleID = newEvent.styleID;
577 newStyle.whichView = "hintable"; 577 newStyle.whichView = "hintable";
@@ -583,7 +583,7 @@ var Layer = exports.Layer = Montage.create(Component, {
583 583
584 // Set up the event info and dispatch the event 584 // Set up the event info and dispatch the event
585 this.styleCounter += 1; 585 this.styleCounter += 1;
586 newEvent.styleSelection = mySelection; 586 // newEvent.styleSelection = mySelection;
587 defaultEventManager.dispatchEvent(newEvent); 587 defaultEventManager.dispatchEvent(newEvent);
588 } 588 }
589 }, 589 },