# HG changeset patch # User Thomas Junk # Date 1571233478 -7200 # Node ID e326874dd2c4391dc0e34e0cc55e4dbf1c9f6c75 # Parent c4adbebaf1a6151d3d44018061473c886c59e879 fix pdf colors legend diff -r c4adbebaf1a6 -r e326874dd2c4 client/src/components/fairway/Fairwayprofile.vue --- 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);