Mercurial > gemma
changeset 3788:3ca5a83e46af yworks-svg2pdf
mixins: commented magic number
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 03 Jul 2019 16:44:45 +0200 |
parents | f86220aa8a72 |
children | c66cdde873b5 60977e18e227 |
files | client/src/lib/mixins.js |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/lib/mixins.js Wed Jul 03 16:42:38 2019 +0200 +++ b/client/src/lib/mixins.js Wed Jul 03 16:44:45 2019 +0200 @@ -153,7 +153,7 @@ this.addRoundedBox(x, y, width, height, color, rounding, brcolor); }, getTextHeight(numberOfLines) { - return numberOfLines * ((this.pdf.doc.getFontSize() * 25.4) / 80) * 1.15; + return numberOfLines * ((this.pdf.doc.getFontSize() * 25.4) / 80) * 1.15; // see https://github.com/yWorks/jsPDF/blob/master/jspdf.js#L207 }, // title for diagram addDiagramTitle(position, offset, size, color, text) {