diff options
author | Jose Antonio Marquez | 2012-06-21 16:54:18 -0700 |
---|---|---|
committer | Jose Antonio Marquez | 2012-06-21 16:54:18 -0700 |
commit | d6360c39f6cd90dd5e9a1d5ef5bd5211641dad42 (patch) | |
tree | 564528119093e4e3408ccf180d55ac3d5e413813 /js/components/tools-properties/shape-properties.reel | |
parent | bf6bed611714053aabc0d38978bddd62873d04aa (diff) | |
parent | 2af33f19de48bb8fe269c51ceddd1bc1f591651f (diff) | |
download | ninja-d6360c39f6cd90dd5e9a1d5ef5bd5211641dad42.tar.gz |
Merge branch 'refs/heads/Ninja-Internal' into FileIO
Diffstat (limited to 'js/components/tools-properties/shape-properties.reel')
-rwxr-xr-x | js/components/tools-properties/shape-properties.reel/shape-properties.html | 5 | ||||
-rwxr-xr-x | js/components/tools-properties/shape-properties.reel/shape-properties.js | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/js/components/tools-properties/shape-properties.reel/shape-properties.html b/js/components/tools-properties/shape-properties.reel/shape-properties.html index ea246ea8..5f93b556 100755 --- a/js/components/tools-properties/shape-properties.reel/shape-properties.html +++ b/js/components/tools-properties/shape-properties.reel/shape-properties.html | |||
@@ -112,6 +112,7 @@ | |||
112 | "_fillColorCtrlIcon": {"#": "fillColorCtrlIcon"}, | 112 | "_fillColorCtrlIcon": {"#": "fillColorCtrlIcon"}, |
113 | "_fillColorCtrl": {"#": "fillColorCtrl"}, | 113 | "_fillColorCtrl": {"#": "fillColorCtrl"}, |
114 | "_strokeColorCtrl": {"#": "strokeColorCtrl"}, | 114 | "_strokeColorCtrl": {"#": "strokeColorCtrl"}, |
115 | "_fillColorCtrlContainer": {"#": "fillColorCtrlContainer"}, | ||
115 | 116 | ||
116 | "_strokeSize": {"@": "_strokeSize1"}, | 117 | "_strokeSize": {"@": "_strokeSize1"}, |
117 | "ovalProperties": {"@": "ovalProperties1"}, | 118 | "ovalProperties": {"@": "ovalProperties1"}, |
@@ -135,9 +136,9 @@ | |||
135 | </div> | 136 | </div> |
136 | <div class="nj-divider divider-vertical toolOptionsSpacer"> </div> | 137 | <div class="nj-divider divider-vertical toolOptionsSpacer"> </div> |
137 | <div class="toolColorChipIcon PencilTool"></div> | 138 | <div class="toolColorChipIcon PencilTool"></div> |
138 | <div data-montage-id="strokeColorCtrl" class="toolColorChipCtrl"></div> | 139 | <div class="toolColorChipContainer"><div data-montage-id="strokeColorCtrl" class="toolColorChipCtrl"></div></div> |
139 | <div data-montage-id="fillColorCtrlIcon" class="toolColorChipIcon FillTool"></div> | 140 | <div data-montage-id="fillColorCtrlIcon" class="toolColorChipIcon FillTool"></div> |
140 | <div data-montage-id="fillColorCtrl" class="toolColorChipCtrl"></div> | 141 | <div data-montage-id="fillColorCtrlContainer" class="toolColorChipContainer"><div data-montage-id="fillColorCtrl" class="toolColorChipCtrl"></div></div> |
141 | <div class="nj-divider divider-vertical"> </div> | 142 | <div class="nj-divider divider-vertical"> </div> |
142 | <label class="label">Stroke:</label> | 143 | <label class="label">Stroke:</label> |
143 | <div data-montage-id="strokeControl" class="label"></div> | 144 | <div data-montage-id="strokeControl" class="label"></div> |
diff --git a/js/components/tools-properties/shape-properties.reel/shape-properties.js b/js/components/tools-properties/shape-properties.reel/shape-properties.js index 5829634c..7306275a 100755 --- a/js/components/tools-properties/shape-properties.reel/shape-properties.js +++ b/js/components/tools-properties/shape-properties.reel/shape-properties.js | |||
@@ -179,14 +179,14 @@ var ShapeProperties = exports.ShapeProperties = Montage.create(ToolProperties, { | |||
179 | this[this._selectedSubTool.properties].visible = true; | 179 | this[this._selectedSubTool.properties].visible = true; |
180 | 180 | ||
181 | if (this._selectedSubTool.id === "LineTool") { | 181 | if (this._selectedSubTool.id === "LineTool") { |
182 | this._fillColorCtrl.style["display"] = "none"; | 182 | this._fillColorCtrlContainer.style["display"] = "none"; |
183 | this._fillColorCtrl.visible = false; | 183 | this._fillColorCtrlContainer.visible = false; |
184 | this._fillColorCtrlIcon.style["display"] = "none"; | 184 | this._fillColorCtrlIcon.style["display"] = "none"; |
185 | this._fillColorCtrlIcon.visible = false; | 185 | this._fillColorCtrlIcon.visible = false; |
186 | this.endDivider.style["display"] = "none"; | 186 | this.endDivider.style["display"] = "none"; |
187 | } else { | 187 | } else { |
188 | this._fillColorCtrl.style["display"] = ""; | 188 | this._fillColorCtrlContainer.style["display"] = ""; |
189 | this._fillColorCtrl.visible = true; | 189 | this._fillColorCtrlContainer.visible = true; |
190 | this._fillColorCtrlIcon.style["display"] = ""; | 190 | this._fillColorCtrlIcon.style["display"] = ""; |
191 | this._fillColorCtrlIcon.visible = true; | 191 | this._fillColorCtrlIcon.visible = true; |
192 | this.endDivider.style["display"] = ""; | 192 | this.endDivider.style["display"] = ""; |