Mercurial > gemma
changeset 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 | 0644c2b3af54 |
children | 69657aab46ec |
files | client/src/components/fairway/Fairwayprofile.vue |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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();