changeset 4694:e326874dd2c4

fix pdf colors legend
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 16 Oct 2019 15:44:38 +0200
parents c4adbebaf1a6
children a83e4721baaf
files client/src/components/fairway/Fairwayprofile.vue
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue	Wed Oct 16 15:40:36 2019 +0200
+++ b/client/src/components/fairway/Fairwayprofile.vue	Wed Oct 16 15:44:38 2019 +0200
@@ -377,11 +377,11 @@
       };
 
       const los1Color = toRGB(this.getLayerStyle(1).strokeColor);
-      const los1Fill = "#ffffff";
+      const los1Fill = toRGB(this.getLayerStyle(1).fillColor);
       const los2Color = toRGB(this.getLayerStyle(2).strokeColor);
-      const los2Fill = "#ffffff";
+      const los2Fill = toRGB(this.getLayerStyle(2).fillColor);
       const los3Color = toRGB(this.getLayerStyle(3).strokeColor);
-      const los3Fill = "#ffffff";
+      const los3Fill = toRGB(this.getLayerStyle(3).fillColor);
 
       this.pdf.doc.setLineDashPattern([0.8], 0);
       this.pdf.doc.setDrawColor(los1Color);