changeset 2288:3f9847c89491

client: pdf-gen: removed unused parameter
author Markus Kottlaender <markus@intevation.de>
date Fri, 15 Feb 2019 14:39:16 +0100
parents 3154120af837
children cfc04c887085
files client/src/components/Pdftool.vue
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
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