aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/html-document.js11
-rwxr-xr-xjs/document/templates/montage-html/default_html.css4
2 files changed, 5 insertions, 10 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js
index e96c9943..6324d5ed 100755
--- a/js/document/html-document.js
+++ b/js/document/html-document.js
@@ -300,19 +300,15 @@ exports.HTMLDocument = Montage.create(TextDocument, {
300 { 300 {
301 shapeModel.GLGeomObj = root; 301 shapeModel.GLGeomObj = root;
302 shapeModel.strokeSize = root._strokeWidth; 302 shapeModel.strokeSize = root._strokeWidth;
303 shapeModel.stroke = root._strokeColor.slice(); 303 shapeModel.stroke = root._strokeColor;
304 shapeModel.strokeMaterial = root._strikeMaterial ? root._strokeMaterial.dup() : null;
305 shapeModel.strokeStyle = "solid"; 304 shapeModel.strokeStyle = "solid";
306 //shapeModel.strokeStyleIndex 305 //shapeModel.strokeStyleIndex
307 //shapeModel.border
308 //shapeModel.background
309 switch (root.geomType()) 306 switch (root.geomType())
310 { 307 {
311 case root.GEOM_TYPE_RECTANGLE: 308 case root.GEOM_TYPE_RECTANGLE:
312 elementModel.selection = "Rectangle"; 309 elementModel.selection = "Rectangle";
313 elementModel.pi = "RectanglePi"; 310 elementModel.pi = "RectanglePi";
314 shapeModel.fill = root._fillColor.slice(); 311 shapeModel.fill = root._fillColor;
315 shapeModel.fillMaterial = root._fillMaterial ? root._fillMaterial.dup() : null;
316 shapeModel.tlRadius = root._tlRadius; 312 shapeModel.tlRadius = root._tlRadius;
317 shapeModel.trRadius = root._trRadius; 313 shapeModel.trRadius = root._trRadius;
318 shapeModel.blRadius = root._blRadius; 314 shapeModel.blRadius = root._blRadius;
@@ -322,8 +318,7 @@ exports.HTMLDocument = Montage.create(TextDocument, {
322 case root.GEOM_TYPE_CIRCLE: 318 case root.GEOM_TYPE_CIRCLE:
323 elementModel.selection = "Oval"; 319 elementModel.selection = "Oval";
324 elementModel.pi = "OvalPi"; 320 elementModel.pi = "OvalPi";
325 shapeModel.fill = root._fillColor.slice(); 321 shapeModel.fill = root._fillColor;
326 shapeModel.fillMaterial = root._fillMaterial ? root._fillMaterial.dup() : null;
327 shapeModel.innerRadius = root._innerRadius; 322 shapeModel.innerRadius = root._innerRadius;
328 break; 323 break;
329 324
diff --git a/js/document/templates/montage-html/default_html.css b/js/document/templates/montage-html/default_html.css
index 6c2b415f..424c5801 100755
--- a/js/document/templates/montage-html/default_html.css
+++ b/js/document/templates/montage-html/default_html.css
@@ -70,8 +70,8 @@ body
70 -webkit-transform: perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); 70 -webkit-transform: perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
71} 71}
72 72
73.elem-red-outline { 73.active-element-outline {
74 outline: red solid thin; 74 outline: #adff2f solid 2px;
75} 75}
76 76
77.nj-preset-transition { 77.nj-preset-transition {