changeset 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 b018a9f2db74
children c7dc1a6da93d
files client/src/components/fairway/Fairwayprofile.vue
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()