diff options
author | Kruti Shah | 2012-05-31 10:44:45 -0700 |
---|---|---|
committer | Kruti Shah | 2012-05-31 10:44:45 -0700 |
commit | c350cc1c060fdf17357ddadce024267943784593 (patch) | |
tree | 453f86e88f1ee1dfda6fb4b7cc7b17e306e39536 /js/panels/Timeline/Style.reel/Style.js | |
parent | fdc4f5c7f81ae3b9adeca2232e60268b4be594a2 (diff) | |
parent | 121d0e616f48aa7cd048763554089c20a1883d7a (diff) | |
download | ninja-c350cc1c060fdf17357ddadce024267943784593.tar.gz |
Merge branch 'refs/heads/TimelineUberjd' into TimelineUber
Conflicts:
js/panels/Timeline/Layer.reel/Layer.js
Signed-off-by: Kruti Shah <kruti.shah@motorola.com>
Diffstat (limited to 'js/panels/Timeline/Style.reel/Style.js')
-rw-r--r-- | js/panels/Timeline/Style.reel/Style.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/panels/Timeline/Style.reel/Style.js b/js/panels/Timeline/Style.reel/Style.js index 532982f7..fa848cc0 100644 --- a/js/panels/Timeline/Style.reel/Style.js +++ b/js/panels/Timeline/Style.reel/Style.js | |||
@@ -35,6 +35,7 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, { | |||
35 | return this._isSelected; | 35 | return this._isSelected; |
36 | }, | 36 | }, |
37 | set: function(newVal) { | 37 | set: function(newVal) { |
38 | console.log("Style["+this.styleID+"].isSelected.set ", newVal) | ||
38 | if (newVal !== this._isSelected) { | 39 | if (newVal !== this._isSelected) { |
39 | this._isSelected = newVal; | 40 | this._isSelected = newVal; |
40 | this.needsDraw = true; | 41 | this.needsDraw = true; |
@@ -191,9 +192,9 @@ var LayerStyle = exports.LayerStyle = Montage.create(Component, { | |||
191 | this._showView(); | 192 | this._showView(); |
192 | } | 193 | } |
193 | if (this.isSelected) { | 194 | if (this.isSelected) { |
194 | this.element.classList.add("selected"); | 195 | this.element.classList.add("style-selected"); |
195 | } else { | 196 | } else { |
196 | this.element.classList.remove("selected"); | 197 | this.element.classList.remove("style-selected"); |
197 | } | 198 | } |
198 | } | 199 | } |
199 | }, | 200 | }, |