# HG changeset patch # User Markus Kottlaender # Date 1559125186 -7200 # Node ID 70cd7383325b3e82ebd92a685603ad246f5c4f37 # Parent d3ca26b1d104bc20febe221908698a4d5c8fed8f client: fairway profiles: removed strokes for sharper edges diff -r d3ca26b1d104 -r 70cd7383325b client/src/components/fairway/Fairwayprofile.vue --- a/client/src/components/fairway/Fairwayprofile.vue Wed May 29 10:44:14 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Wed May 29 12:19:46 2019 +0200 @@ -465,7 +465,6 @@ } for (let data of this.fairwayData) { const [startPoint, endPoint, depth] = data.coordinates[0]; - const style = data.style(); let fairwayArea = d3 .area() .x(function(d) { @@ -480,7 +479,7 @@ .datum([{ x: startPoint, y: depth }, { x: endPoint, y: depth }]) .attr("fill", "#002AFF") .attr("fill-opacity", 0.65) - .attr("stroke", style[0].getStroke().getColor()) + .attr("stroke", "transparent") .attr("d", fairwayArea); } }, @@ -595,7 +594,7 @@ .datum([{ x: 0, y: 0 }, { x: this.totalLength, y: 0 }]) .attr("fill-opacity", 0.65) .attr("fill", WATER_COLOR) - .attr("stroke", WATER_COLOR) + .attr("stroke", "transparent") .attr("d", waterArea); }, drawProfile({