Skip to content

Commit 0420fc6

Browse files
committed
Merge branch 'issue991' into develop. Issue #991.
2 parents c95cb11 + dc79196 commit 0420fc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unpacked/jax/output/SVG/jax.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,11 +1635,11 @@
16351635
if (this.data[0] != null) {
16361636
this.SVGgetScale(svg); this.SVGhandleSpace(svg);
16371637
var pad = this.SVGdataStretched(0,HW,D), mu = this.SVGgetMu(svg);
1638-
var values = this.getValues("height","depth","width","lspace","voffset"), x = 0, y = 0;
1639-
if (values.lspace) {x = this.SVGlength2em(pad,values.lspace,mu)}
1640-
if (values.voffset) {y = this.SVGlength2em(pad,values.voffset,mu)}
1638+
var values = this.getValues("height","depth","width","lspace","voffset"), X = 0, Y = 0;
1639+
if (values.lspace) {X = this.SVGlength2em(pad,values.lspace,mu)}
1640+
if (values.voffset) {Y = this.SVGlength2em(pad,values.voffset,mu)}
16411641
var h = pad.h, d = pad.d, w = pad.w, y = pad.y; // these can change durring the Add()
1642-
svg.Add(pad,x,y); svg.Clean();
1642+
svg.Add(pad,X,Y); svg.Clean();
16431643
svg.h = h+y; svg.d = d-y; svg.w = w; svg.removeable = false;
16441644
if (values.height !== "") {svg.h = this.SVGlength2em(svg,values.height,mu,"h",0)}
16451645
if (values.depth !== "") {svg.d = this.SVGlength2em(svg,values.depth,mu,"d",0)}

0 commit comments

Comments
 (0)