aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Layer.reel/Layer.js
diff options
context:
space:
mode:
authorJonathan Duran2012-05-04 21:46:29 -0700
committerJonathan Duran2012-05-04 21:46:29 -0700
commiteaef072648eb539e648aabf7bc1aea8d02c21085 (patch)
tree0474ea8c48d8624a0c82bd08f9ed7de63b48b50c /js/panels/Timeline/Layer.reel/Layer.js
parent0e12f00d6afffabd370347335a56d0ddd17c0232 (diff)
downloadninja-eaef072648eb539e648aabf7bc1aea8d02c21085.tar.gz
property track additions to serialization data object
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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js
index b23da749..ef51886e 100644
--- a/js/panels/Timeline/Layer.reel/Layer.js
+++ b/js/panels/Timeline/Layer.reel/Layer.js
@@ -606,6 +606,7 @@ var Layer = exports.Layer = Montage.create(Component, {
606 newEvent.layerEventLocale = "styles"; 606 newEvent.layerEventLocale = "styles";
607 newEvent.layerEventType = "newStyle"; 607 newEvent.layerEventType = "newStyle";
608 newEvent.layerID = this.layerID; 608 newEvent.layerID = this.layerID;
609 newEvent.styleIndex = this._styleCounter;
609 newEvent.styleID = this.layerID + "@" + this._styleCounter; 610 newEvent.styleID = this.layerID + "@" + this._styleCounter;
610 611
611 newStyle.styleID = newEvent.styleID; 612 newStyle.styleID = newEvent.styleID;
@@ -629,7 +630,7 @@ var Layer = exports.Layer = Montage.create(Component, {
629 } 630 }
630 631
631 // Set up the event info and dispatch the event 632 // Set up the event info and dispatch the event
632 633 this._styleCounter += 1;
633 newEvent.styleSelection = mySelection; 634 newEvent.styleSelection = mySelection;
634 defaultEventManager.dispatchEvent(newEvent); 635 defaultEventManager.dispatchEvent(newEvent);
635 636