# HG changeset patch # User Thomas Junk # Date 1540222499 -7200 # Node ID 99d27dc9db5ed75debb11b90b952b915f6f467e4 # Parent e2860eff5d037f4f7a44e9c4a04cca96e9d0f600 fix: Morphtool works again diff -r e2860eff5d03 -r 99d27dc9db5e client/src/morphtool/Morphtool.vue --- a/client/src/morphtool/Morphtool.vue Mon Oct 22 17:17:43 2018 +0200 +++ b/client/src/morphtool/Morphtool.vue Mon Oct 22 17:34:59 2018 +0200 @@ -97,7 +97,7 @@ ...mapState("identifystore", ["identifiedFeatures"]), ...mapState("morphstore", ["selectedMorph"]), selectedBottleneck: function() { - if (this.identifiedFeatures) { + if (this.identifiedFeatures && !this.drawMode) { for (let feature of this.identifiedFeatures) { let id = feature.getId(); // RegExp.prototype.test() works with number, str and undefined