Skip to content

Commit 8d6ffcc

Browse files
committed
Merge branch 'issue991' into develop. Issue #991.
2 parents b87f15f + b60fb9b commit 8d6ffcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unpacked/jax/output/SVG/jax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,9 +1638,9 @@
16381638
var values = this.getValues("height","depth","width","lspace","voffset"), x = 0, y = 0;
16391639
if (values.lspace) {x = this.SVGlength2em(pad,values.lspace,mu)}
16401640
if (values.voffset) {y = this.SVGlength2em(pad,values.voffset,mu)}
1641-
var h = pad.h, d = pad.d, w = pad.w; // these can change durring the Add()
1641+
var h = pad.h, d = pad.d, w = pad.w, y = pad.y; // these can change durring the Add()
16421642
svg.Add(pad,x,y); svg.Clean();
1643-
svg.h = h+pad.y; svg.d = d-pad.y; svg.w = w; svg.removeable = false;
1643+
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)}
16461646
if (values.width !== "") {svg.w = this.SVGlength2em(svg,values.width,mu,"w",0)}

0 commit comments

Comments
 (0)