comparison client/src/components/gauge/Gauges.vue @ 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 503a73e9a755
comparison
equal deleted inserted replaced
2830:0632d543a427 2831:3430369d2310
209 this.$store.commit("gauges/waterlevels", []); 209 this.$store.commit("gauges/waterlevels", []);
210 }, 210 },
211 expandCallback: () => { 211 expandCallback: () => {
212 this.$store.commit("map/moveMap", { 212 this.$store.commit("map/moveMap", {
213 coordinates, 213 coordinates,
214 zoom: 17, 214 zoom: null,
215 preventZoomOut: true 215 preventZoomOut: true
216 }); 216 });
217 } 217 }
218 }; 218 };
219 this.$store.commit("application/addSplitscreen", splitscreenConf); 219 this.$store.commit("application/addSplitscreen", splitscreenConf);
258 this.$store.commit("gauges/yearWaterlevels", []); 258 this.$store.commit("gauges/yearWaterlevels", []);
259 }, 259 },
260 expandCallback: () => { 260 expandCallback: () => {
261 this.$store.commit("map/moveMap", { 261 this.$store.commit("map/moveMap", {
262 coordinates, 262 coordinates,
263 zoom: 17, 263 zoom: null,
264 preventZoomOut: true 264 preventZoomOut: true
265 }); 265 });
266 } 266 }
267 }; 267 };
268 this.$store.commit("application/addSplitscreen", splitscreenConf); 268 this.$store.commit("application/addSplitscreen", splitscreenConf);