瀏覽代碼

puissance d'agir bug fix

bach 9 月之前
父節點
當前提交
b260ab1b87
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/ConcernementMapItem.vue

+ 1 - 1
src/components/ConcernementMapItem.vue

@@ -804,7 +804,7 @@ export default {
       // then scale again to new size
       this.paper_main_object.scale(this.details_zoom_scale);
       // resize entites (dim them while we zoomin)
-      if(this.paper_main_object.children){
+      if(this.paper_main_object.children && this.paper_main_object.children['entites']){
         this.paper_main_object.children['entites'].children.forEach((child) => {
           if(child.name === 'entite'){
             // revert to the original size (by reverting the previous scale)