diff client/src/application/Main.vue @ 849:d63e60b868bf

WIP Fairwayprofile
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 28 Sep 2018 12:35:24 +0200
parents 596ef3b46028
children 52fe3e20f750
line wrap: on
line diff
--- a/client/src/application/Main.vue	Fri Sep 28 12:26:46 2018 +0200
+++ b/client/src/application/Main.vue	Fri Sep 28 12:35:24 2018 +0200
@@ -61,7 +61,7 @@
         Math.max(this.maxAlt, this.selectedWaterLevel) -
         this.selectedWaterLevel;
       const lo = this.selectedWaterLevel - this.minAlt;
-      return [lo, hi];
+      return [-lo, hi];
     },
     margins() {
       return this.margin;