diff client/src/components/TimeSlider.vue @ 5219:de86a96d55c3 new-fwa

linter
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 12 May 2020 10:04:06 +0200
parents a5fd84c4f2fe
children 84d01a536bec
line wrap: on
line diff
--- a/client/src/components/TimeSlider.vue	Mon May 11 20:10:15 2020 +0200
+++ b/client/src/components/TimeSlider.vue	Tue May 12 10:04:06 2020 +0200
@@ -257,7 +257,10 @@
       zoom = d3
         .zoom()
         .scaleExtent([0.8, 102000])
-        .translateExtent([[0, 0], [svgWidth, svgHeight]])
+        .translateExtent([
+          [0, 0],
+          [svgWidth, svgHeight]
+        ])
         .extent([[0, 0], [(svgWidth, svgHeight)]])
         .on("zoom", this.zoomed);