Mercurial > gemma
diff client/src/components/Pdftool.vue @ 2288:3f9847c89491
client: pdf-gen: removed unused parameter
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 15 Feb 2019 14:39:16 +0100 |
parents | 9f327f197ddd |
children | 60af456d01f0 |
line wrap: on
line diff
--- a/client/src/components/Pdftool.vue Fri Feb 15 14:08:42 2019 +0100 +++ b/client/src/components/Pdftool.vue Fri Feb 15 14:39:16 2019 +0100 @@ -291,7 +291,6 @@ e.position, e.offset || defaultOffset, e.width, - e.rounding || defaultRounding, e.fontSize || defaultFontSize, e.color || defaultTextColor, e.text @@ -404,7 +403,7 @@ this.pdf.doc.roundedRect(x, y, w, h, rounding, rounding, "FD"); }, // add some text at specific coordinates and determine how many wrolds in single line - addText(position, offset, width, rounding, fontSize, color, text) { + addText(position, offset, width, fontSize, color, text) { text = this.replacePlaceholders(text); // split the incoming string to an array, each element is a string of @@ -473,7 +472,6 @@ position, { x: offset.x + padding, y: offset.y + padding }, textWidth, - rounding, fontSize, color, text