diff options
author | hwc487 | 2012-06-28 12:17:22 -0700 |
---|---|---|
committer | hwc487 | 2012-06-28 12:17:22 -0700 |
commit | 230b3d0fdfd29e998b82fef9f1ff5d2ca7ef8596 (patch) | |
tree | 133be243b24260f831252f347ed66f24e2b78136 /js/panels/Timeline/Style.reel/Style.js | |
parent | 22cbc9644b79df60b3f6336f9563debd47fb3ea1 (diff) | |
parent | 56d6311f398e04eee3883a5c848fec3b2b53c981 (diff) | |
download | ninja-230b3d0fdfd29e998b82fef9f1ff5d2ca7ef8596.tar.gz |
Merge branch 'master' of github.com:Motorola-Mobility/ninja-internal into Taper
Diffstat (limited to 'js/panels/Timeline/Style.reel/Style.js')
-rw-r--r-- | js/panels/Timeline/Style.reel/Style.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/panels/Timeline/Style.reel/Style.js b/js/panels/Timeline/Style.reel/Style.js index fe8d04e9..c8d323a9 100644 --- a/js/panels/Timeline/Style.reel/Style.js +++ b/js/panels/Timeline/Style.reel/Style.js | |||
@@ -400,8 +400,10 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, { | |||
400 | var currentValue = ElementsMediator.getColor(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.stageElement,this._isFill,this._borderSide) | 400 | var currentValue = ElementsMediator.getColor(this.parentComponent.parentComponent.parentComponent.parentComponent.layerData.stageElement,this._isFill,this._borderSide) |
401 | this.application.ninja.timeline.selectedStyle = this.editorProperty; | 401 | this.application.ninja.timeline.selectedStyle = this.editorProperty; |
402 | this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false); | 402 | this._fillColorCtrl.addEventListener("change", this.handleFillColorChange.bind(this), false); |
403 | this._fillColorCtrl.color(currentValue.colorMode, currentValue.color); | 403 | if(currentValue){ |
404 | this.addedColorChips = true; | 404 | this._fillColorCtrl.color(currentValue.colorMode, currentValue.color); |
405 | this.addedColorChips = true; | ||
406 | } | ||
405 | } | 407 | } |
406 | // TODO: set up color chip here. | 408 | // TODO: set up color chip here. |
407 | } else if (tweenable.tweener === "input"){ | 409 | } else if (tweenable.tweener === "input"){ |