|
@@ -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)
|