aboutsummaryrefslogtreecommitdiff
path: root/js/components/tools-properties/shape-properties.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/tools-properties/shape-properties.reel')
-rwxr-xr-xjs/components/tools-properties/shape-properties.reel/shape-properties.css9
-rwxr-xr-xjs/components/tools-properties/shape-properties.reel/shape-properties.html10
-rwxr-xr-xjs/components/tools-properties/shape-properties.reel/shape-properties.js2
3 files changed, 14 insertions, 7 deletions
diff --git a/js/components/tools-properties/shape-properties.reel/shape-properties.css b/js/components/tools-properties/shape-properties.reel/shape-properties.css
index c1f8a8ce..70a0e780 100755
--- a/js/components/tools-properties/shape-properties.reel/shape-properties.css
+++ b/js/components/tools-properties/shape-properties.reel/shape-properties.css
@@ -9,10 +9,15 @@
9} 9}
10 10
11.optionsShapeTool .shapeCustomProps { 11.optionsShapeTool .shapeCustomProps {
12 margin-top: -3px; 12 margin-top: 0px;
13 margin-left: -31px; 13 margin-left: -7px;
14} 14}
15 15
16.optionsShapeTool checkbox { 16.optionsShapeTool checkbox {
17 padding: 6px; 17 padding: 6px;
18 margin-left: 4px;
18} 19}
20
21.optionsShapeTool .hottextunit {
22 /*width: 46px;*/
23} \ No newline at end of file
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 c6aa0c94..9b523a3f 100755
--- a/js/components/tools-properties/shape-properties.reel/shape-properties.html
+++ b/js/components/tools-properties/shape-properties.reel/shape-properties.html
@@ -118,6 +118,8 @@
118 "rectProperties": {"@": "rectProperties1"}, 118 "rectProperties": {"@": "rectProperties1"},
119 "lineProperties": {"@": "lineProperties1"}, 119 "lineProperties": {"@": "lineProperties1"},
120 120
121 "endDivider": {"#": "endDivider"},
122
121 "components": [ 123 "components": [
122 {"@": "repetition1"} 124 {"@": "repetition1"}
123 ] 125 ]
@@ -144,14 +146,14 @@
144 <div class="nj-divider divider-vertical">&nbsp;</div> 146 <div class="nj-divider divider-vertical">&nbsp;</div>
145 <label class="label">Stroke:</label> 147 <label class="label">Stroke:</label>
146 <div data-montage-id="strokeControl" class="label"></div> 148 <div data-montage-id="strokeControl" class="label"></div>
149 <div class="nj-divider divider-vertical">&nbsp;</div>
147 <div id="customProperties" class="shapeCustomProps"> 150 <div id="customProperties" class="shapeCustomProps">
148 <div data-montage-id="ovalProperties" class="label"></div> 151 <div data-montage-id="ovalProperties" class="label"></div>
149 <div data-montage-id="rectProperties" class="label"></div> 152 <div data-montage-id="rectProperties" class="label"></div>
150 <div data-montage-id="lineProperties" class="label"></div> 153 <div data-montage-id="lineProperties" class="label"></div>
151 </div> 154 </div>
152 155 <div data-montage-id="endDivider" class="nj-divider divider-vertical toolOptionsSpacer">&nbsp;</div>
153 <input data-montage-id="useWebGLCH" type="checkbox" name="useWebGLControl" class="nj-skinned"/><label class="label">Use WebGL</label> 156 <input data-montage-id="useWebGLCH" type="checkbox" name="useWebGLControl" class="nj-skinned"/><label class="label">Use WebGL</label>
154
155 <label data-montage-id="materialLabel" class="label">Material:</label> 157 <label data-montage-id="materialLabel" class="label">Material:</label>
156 <div data-montage-id="strokeIcon" class="toolColorChipIcon PencilTool"></div> 158 <div data-montage-id="strokeIcon" class="toolColorChipIcon PencilTool"></div>
157 159
@@ -160,9 +162,7 @@
160 162
161 <div data-montage-id="fillIcon" class="toolColorChipIcon FillTool"></div> 163 <div data-montage-id="fillIcon" class="toolColorChipIcon FillTool"></div>
162 <select class="selectBox" data-montage-id="fillMaterialCB"> 164 <select class="selectBox" data-montage-id="fillMaterialCB">
163 </select> 165 </select>
164
165
166 </div> 166 </div>
167 </body> 167 </body>
168 168
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 23158493..bd0cf8cf 100755
--- a/js/components/tools-properties/shape-properties.reel/shape-properties.js
+++ b/js/components/tools-properties/shape-properties.reel/shape-properties.js
@@ -112,11 +112,13 @@ var ShapeProperties = exports.ShapeProperties = Montage.create(ToolProperties, {
112 this._fillColorCtrl.visible = false; 112 this._fillColorCtrl.visible = false;
113 this._fillColorCtrlIcon.style["display"] = "none"; 113 this._fillColorCtrlIcon.style["display"] = "none";
114 this._fillColorCtrlIcon.visible = false; 114 this._fillColorCtrlIcon.visible = false;
115 this.endDivider.style["display"] = "none";
115 } else { 116 } else {
116 this._fillColorCtrl.style["display"] = ""; 117 this._fillColorCtrl.style["display"] = "";
117 this._fillColorCtrl.visible = true; 118 this._fillColorCtrl.visible = true;
118 this._fillColorCtrlIcon.style["display"] = ""; 119 this._fillColorCtrlIcon.style["display"] = "";
119 this._fillColorCtrlIcon.visible = true; 120 this._fillColorCtrlIcon.visible = true;
121 this.endDivider.style["display"] = "";
120 } 122 }
121 123
122 if (this._useWebGL.checked) { 124 if (this._useWebGL.checked) {