changeset 4154:d54d86d27e82

client: waterlevel: remove whitespace and add comment
author Fadi Abbud <fadi.abbud@intevation.de>
date Fri, 02 Aug 2019 13:15:12 +0200
parents 7c44af0b9370
children 552ea22ed266 dd61ee277aa6
files client/src/components/gauge/Waterlevel.vue
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/gauge/Waterlevel.vue	Fri Aug 02 12:59:23 2019 +0200
+++ b/client/src/components/gauge/Waterlevel.vue	Fri Aug 02 13:15:12 2019 +0200
@@ -454,7 +454,7 @@
         .attr("fill-opacity", 0.6);
 
       svg
-        .selectAll(".hdc-line, .mw-line, .ldc-line, .rn-line ")
+        .selectAll(".hdc-line, .mw-line, .ldc-line, .rn-line")
         .attr("stroke-width", 1)
         .attr("fill", "none")
         .attr("clip-path", "url(#waterlevel-clip)");
@@ -769,9 +769,9 @@
       };
     },
     drawRefLines({ refWaterLevels, diagram, scale, dimensions, extent }) {
-      // filling area between HDC and LDC
       if (refWaterLevels) {
         const { LDC, HDC } = this.determineLDCHDC(refWaterLevels);
+        // filling area between HDC and LDC if both of them are available
         if (LDC && HDC) {
           diagram
             .append("rect")