Mercurial > gemma
diff client/src/components/fairway/Fairwayprofile.vue @ 4814:ad2ad7bae4a6
client: fairwayprofile: fix legend color for image-export
author | Fadi Abbud <fadi.abbud@intevation.de> |
---|---|
date | Wed, 30 Oct 2019 09:33:59 +0100 |
parents | b6d8570b8480 |
children | 008bc1ae8897 |
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue Tue Oct 29 17:42:51 2019 +0100 +++ b/client/src/components/fairway/Fairwayprofile.vue Wed Oct 30 09:33:59 2019 +0100 @@ -310,8 +310,8 @@ ctx.closePath(); ctx.beginPath(); - ctx.fillStyle = this.getLayerStyle(2).fillColor; - ctx.strokeStyle = this.getLayerStyle(2).strokeColor; + ctx.fillStyle = this.getLayerStyle(1).fillColor; + ctx.strokeStyle = this.getLayerStyle(1).strokeColor; ctx.arc(x, (y += 20), 8, 0, 2 * Math.PI); ctx.setLineDash([0.8], 0); ctx.fill();