Browse Source

puissance d'agir bug fix

bach 9 months ago
parent
commit
b260ab1b87
1 changed files with 1 additions and 1 deletions
  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)