portree_kid 4 years ago
parent 71c8a6f8e0
commit 7c57323daf

@ -110,7 +110,7 @@ You should have received a copy of the GNU General Public License along with FG
methods: { methods: {
doCommand (e) { doCommand (e) {
let cmd = String.fromCharCode(e.keyCode).toLowerCase() let cmd = String.fromCharCode(e.keyCode).toLowerCase()
if (e.keyCode === 46 /** DEL */) { if (e.keyCode === 46 /** DEL */ && e.target.type !== 'text') {
this.$parent.$parent.$refs.editLayer.deleteFeature() this.$parent.$parent.$refs.editLayer.deleteFeature()
} }
console.log(cmd) console.log(cmd)

Loading…
Cancel
Save