# HG changeset patch # User Markus Kottlaender # Date 1550237956 -3600 # Node ID 3f9847c89491cbefabd09d45b86798dd92bbc94b # Parent 3154120af837c56fec5f2f06ba31bd3c4e15bfc5 client: pdf-gen: removed unused parameter diff -r 3154120af837 -r 3f9847c89491 client/src/components/Pdftool.vue --- 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