Mercurial > gemma
changeset 3139:5daaabc2e7fc
client: remove console log
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Thu, 02 May 2019 11:35:23 +0200 |
parents | 106e1d011a5d |
children | 91556825d95c |
files | client/src/components/gauge/Waterlevel.vue |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/gauge/Waterlevel.vue Thu May 02 11:14:58 2019 +0200 +++ b/client/src/components/gauge/Waterlevel.vue Thu May 02 11:35:23 2019 +0200 @@ -240,7 +240,6 @@ this.pdf.doc.setFontSize(size); this.pdf.doc.setFontStyle("bold"); let width = this.pdf.doc.getTextWidth(gaugeInfo) + size / 2; - console.log("width", width); if (["topright", "bottomright"].indexOf(position) !== -1) { x = this.pdf.width - offset.x - width; @@ -248,10 +247,6 @@ if (["bottomright", "bottomleft"].indexOf(position) !== -1) { y = this.pdf.height - offset.y - this.getTextHeight(1); } - //let y1 = y === 0 ? y + this.getTextHeigt(1) : y1; - console.log("y1", y); - console.log("x", x); - console.log("position", position); this.pdf.doc.text(gaugeInfo, x, y, { baseline: "hanging" }); @@ -268,7 +263,6 @@ let x = offset.x; let y = offset.y; let width = this.pdf.doc.getTextWidth("Navigable Range") + 12; - console.log("width for legend", width); let height = 15; if (["topright", "bottomright"].indexOf(position) !== -1) { x = this.pdf.width - offset.x - width;