Mercurial > gemma
diff client/src/components/map/toolbar/Toolbar.vue @ 1435:7fa030127b05
fixed panning problem
Drawend was triggered before click event, causing the cutTool to be always already disabled
when the identify tool was triggered.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 30 Nov 2018 08:26:13 +0100 |
parents | 5b8ab039a983 |
children | 59c9dbb26bb0 |
line wrap: on
line diff
--- a/client/src/components/map/toolbar/Toolbar.vue Fri Nov 30 07:10:13 2018 +0100 +++ b/client/src/components/map/toolbar/Toolbar.vue Fri Nov 30 08:26:13 2018 +0100 @@ -107,6 +107,7 @@ this.polygonTool.setActive(false); this.cutTool.setActive(false); this.$store.commit("map/setCurrentMeasurement", null); + this.$store.dispatch("map/enableIdentifyTool"); this.getVSourceByName("Draw Tool").clear(); } });