# HG changeset patch # User Sascha L. Teichmann # Date 1539123391 -7200 # Node ID feef06db5d9d22ab7a4a0a2200f1e239cd97a2c3 # Parent 7899867c7bf5cbd19f37b6138cf7e5f609940c2c# Parent 532c8392048fe720bf31b7efb475591ab95a74ec Merged default into geo-style branch. diff -r 7899867c7bf5 -r feef06db5d9d client/src/application/Morphtool.vue --- a/client/src/application/Morphtool.vue Mon Oct 08 14:53:17 2018 +0200 +++ b/client/src/application/Morphtool.vue Wed Oct 10 00:16:31 2018 +0200 @@ -95,10 +95,11 @@ ...mapGetters("application", ["drawMode"]), ...mapState("mapstore", ["identifiedFeatures", "selectedMorph"]), selectedBottleneck: function() { - if (this.identifiedFeatures) { + if (this.identifiedFeatures && !this.drawMode) { for (let feature of this.identifiedFeatures) { let id = feature.getId(); - if (id && id.replace(/[.][^.]*$/, "") === "bottlenecks") { + // RegExp.prototype.test() works with number, str and undefined + if (/^bottlenecks\./.test(id)) { this.$store.commit("mapstore/setSelectedMorph", null); return feature; } @@ -146,6 +147,9 @@ this.$store.commit("mapstore/setIdentifiedFeatures", []); this.$store.commit("mapstore/setSelectedMorph", null); this.surveyList = null; + if (this.drawMode) { + this.$store.commit("application/toggleDrawModeLine"); + } } } }; diff -r 7899867c7bf5 -r feef06db5d9d client/src/application/assets/application.scss --- a/client/src/application/assets/application.scss Mon Oct 08 14:53:17 2018 +0200 +++ b/client/src/application/assets/application.scss Wed Oct 10 00:16:31 2018 +0200 @@ -5,7 +5,7 @@ $icon-width: 2rem; $large-offset: 2rem; $layerselect-height: 20rem; -$layerselect-width: 20rem; +$layerselect-width: 22rem; $identify-height: 20rem; $identify-width: 20rem; $offset: 1rem; diff -r 7899867c7bf5 -r feef06db5d9d client/src/application/assets/legend_contour_lines.png Binary file client/src/application/assets/legend_contour_lines.png has changed diff -r 7899867c7bf5 -r feef06db5d9d client/src/application/assets/linestring_arrow.png Binary file client/src/application/assets/linestring_arrow.png has changed diff -r 7899867c7bf5 -r feef06db5d9d client/src/layers/Identify.vue --- a/client/src/layers/Identify.vue Mon Oct 08 14:53:17 2018 +0200 +++ b/client/src/layers/Identify.vue Wed Oct 10 00:16:31 2018 +0200 @@ -1,7 +1,7 @@