diff client/src/components/fairway/Fairwayprofile.vue @ 4671:0cc339c4c356

fairway profile line use correct delta
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 15 Oct 2019 15:44:07 +0200
parents a89e4db7980b
children c7dc1a6da93d
line wrap: on
line diff
--- a/client/src/components/fairway/Fairwayprofile.vue	Tue Oct 15 09:59:52 2019 +0200
+++ b/client/src/components/fairway/Fairwayprofile.vue	Tue Oct 15 15:44:07 2019 +0200
@@ -644,7 +644,7 @@
             return xScale(d.x);
           })
           .y(d =>
-            yScaleRight(d.y + this.waterlevel - this.refWaterlevel / 100)
+            yScaleRight(d.y + (this.waterlevel - this.refWaterlevel) / 100)
           );
         let profileArea = d3
           .area()