diff --git a/build/icons/256x256.png b/build/icons/256x256.png new file mode 100644 index 0000000..3d67e9d Binary files /dev/null and b/build/icons/256x256.png differ diff --git a/build/icons/icon.icns b/build/icons/icon.icns new file mode 100644 index 0000000..a65f91b Binary files /dev/null and b/build/icons/icon.icns differ diff --git a/build/icons/icon.ico b/build/icons/icon.ico new file mode 100644 index 0000000..8702729 Binary files /dev/null and b/build/icons/icon.ico differ diff --git a/src/renderer/components/EditLayer.vue b/src/renderer/components/EditLayer.vue index 5160f08..1a7d406 100644 --- a/src/renderer/components/EditLayer.vue +++ b/src/renderer/components/EditLayer.vue @@ -169,10 +169,14 @@ case 'arc': this.removeArc(this.$store.state.Editable.data.arc) break; + default: + console.log('Remove : ' + this.$store.state.Editable.type) } }, - removeArc (arc) { + removeArc (arc) { console.log(arc); + var arcLayer = this.groundnetLayerGroup.getLayer(this.$store.state.Editable.index); + arcLayer.removeFrom(this.groundnetLayerGroup); }, removeParking (index) { if(this.featureLookup[index]===undefined) {