aboutsummaryrefslogtreecommitdiff
path: root/js/panels/Timeline/Layer.reel/Layer.js
diff options
context:
space:
mode:
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