changeset 4015:009e9400bef0

legend for print fixed
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 19 Jul 2019 14:06:31 +0200
parents 6036f8f76f76
children 9ab7e1056360
files client/src/components/fairway/AvailableFairwayDepth.vue
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/AvailableFairwayDepth.vue	Fri Jul 19 14:02:19 2019 +0200
+++ b/client/src/components/fairway/AvailableFairwayDepth.vue	Fri Jul 19 14:06:31 2019 +0200
@@ -304,8 +304,8 @@
         this.pdf.doc.roundedRect(x, y + 5, 10, 4, 1.5, 1.5, "FD");
         this.pdf.doc.text(this.legend[1], x + 12, y + 8);
 
-        this.pdf.doc.setDrawColor(this.$options.COLORS.REST[1]);
-        this.pdf.doc.setFillColor(this.$options.COLORS.REST[1]);
+        this.pdf.doc.setDrawColor(this.$options.COLORS.REST[0]);
+        this.pdf.doc.setFillColor(this.$options.COLORS.REST[0]);
         this.pdf.doc.roundedRect(x, y + 10, 10, 4, 1.5, 1.5, "FD");
         this.pdf.doc.text(this.legend[2], x + 12, y + 13);
       }