|
1635 | 1635 | if (this.data[0] != null) {
|
1636 | 1636 | this.SVGgetScale(svg); this.SVGhandleSpace(svg);
|
1637 | 1637 | 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)} |
1641 | 1641 | 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(); |
1643 | 1643 | svg.h = h+y; svg.d = d-y; svg.w = w; svg.removeable = false;
|
1644 | 1644 | if (values.height !== "") {svg.h = this.SVGlength2em(svg,values.height,mu,"h",0)}
|
1645 | 1645 | if (values.depth !== "") {svg.d = this.SVGlength2em(svg,values.depth,mu,"d",0)}
|
|
0 commit comments