commit 7e395523a8257acbbf589210db5dfecf3c5874ad
parent a6ef2a5c2fe7b6bcb30459dc61ae081dd88cd75c
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sun, 7 Dec 2014 07:07:43 -0500
Merge branch 'issue930' into develop. Issue #930.
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/unpacked/jax/output/SVG/jax.js b/unpacked/jax/output/SVG/jax.js
@@ -2030,12 +2030,13 @@
// Put content in a <g> with defaults and matrix that flips y axis.
// Put that in an <svg> with xlink defined.
//
- var box = BBOX.G({
+ var box = BBOX.G(); box.Add(this.data[0].toSVG(),0,0,true); box.Clean();
+ this.SVGhandleColor(box);
+ SVG.Element(box.element,{
stroke:"black", fill:"black", "stroke-width":0,
transform: "matrix(1 0 0 -1 0 0)"
- }).With({removeable: false});
- box.Add(this.data[0].toSVG(),0,0,true); box.Clean();
- this.SVGhandleColor(box);
+ });
+ box.removeable = false;
var svg = this.SVG();
svg.element.setAttribute("xmlns:xlink",XLINKNS);
if (CONFIG.useFontCache && !CONFIG.useGlobalCache)