Mercurial > gemma
changeset 4682:899bec1bd1c9
fairway_profile: make selection of custom depth continuous till the end of the diagram
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 16 Oct 2019 10:31:00 +0200 |
parents | 2690933e404c |
children | c15185297fff |
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 20:49:24 2019 +0200 +++ b/client/src/components/fairway/Fairwayprofile.vue Wed Oct 16 10:31:00 2019 +0200 @@ -468,7 +468,7 @@ data.coordinates.forEach(coordinates => { const [startPoint, endPoint, depth] = coordinates; let customdepth = - this.depth < this.maxAlt + this.depth < this.maxAlt * 1.1 ? this.depth : this.maxAlt * 1.1 + (this.waterlevel - this.refWaterlevel) / 100;