changeset 2358:da75385887b9

fairway_profile: render riverbed on layer behind LOS
author Thomas Junk <thomas.junk@intevation.de>
date Wed, 20 Feb 2019 13:48:22 +0100
parents f910ecf23ce0
children 83f9a131dfb6
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	Wed Feb 20 13:44:22 2019 +0100
+++ b/client/src/components/fairway/Fairwayprofile.vue	Wed Feb 20 13:48:22 2019 +0100
@@ -215,7 +215,6 @@
       if (!this.height || !this.width) return; // do not try to render when height and width are unknown
       this.drawWaterlevel({ graph, xScale, yScaleRight, height });
       this.drawLabels({ graph, height });
-      this.drawFairway({ graph, xScale, yScaleRight });
       if (currentData) {
         this.drawProfile({
           graph,
@@ -240,6 +239,7 @@
           opacity: 0.6
         });
       }
+      this.drawFairway({ graph, xScale, yScaleRight });
     },
     drawFairway({ graph, xScale, yScaleRight }) {
       if (this.fairwayData === undefined) {