changeset 2831:3430369d2310

client: spuc7/8: prevent zooming when opening collapsed diagram
author Markus Kottlaender <markus@intevation.de>
date Wed, 27 Mar 2019 15:28:36 +0100
parents 0632d543a427
children b5555005f51e
files client/src/components/gauge/Gauges.vue
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/client/src/components/gauge/Gauges.vue	Wed Mar 27 15:08:25 2019 +0100
+++ b/client/src/components/gauge/Gauges.vue	Wed Mar 27 15:28:36 2019 +0100
@@ -211,7 +211,7 @@
         expandCallback: () => {
           this.$store.commit("map/moveMap", {
             coordinates,
-            zoom: 17,
+            zoom: null,
             preventZoomOut: true
           });
         }
@@ -260,7 +260,7 @@
         expandCallback: () => {
           this.$store.commit("map/moveMap", {
             coordinates,
-            zoom: 17,
+            zoom: null,
             preventZoomOut: true
           });
         }