ngx-bimplus-components 0.0.240-packageUpdates-1.0 → 0.0.240-packageUpdates-1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1542,13 +1542,10 @@ var LayoutManagerService = class LayoutManagerService {
1542
1542
  deltaY: 0
1543
1543
  };
1544
1544
  }
1545
- if (!elementRect?.width || !elementRect?.height) {
1546
- console.error("checkPosition:element rect empty ");
1547
- return {
1548
- deltaX: 0,
1549
- deltaY: 0
1550
- };
1551
- }
1545
+ if (!elementRect?.width || !elementRect?.height) return {
1546
+ deltaX: 0,
1547
+ deltaY: 0
1548
+ };
1552
1549
  let checkAll = true;
1553
1550
  if (parentRect?.width < 2 || parentRect?.height < 2) checkAll = false;
1554
1551
  if (checkAll) {
@@ -10315,6 +10312,9 @@ var ObjectPreviewComponent = class ObjectPreviewComponent {
10315
10312
  this.contentLoader.loadObject(this.objectId, this.revision, null).then(() => {
10316
10313
  this.viewport?.setupProjectView();
10317
10314
  this.isLoading = false;
10315
+ }).catch((error) => {
10316
+ console.error("Error loading object:", error);
10317
+ this.isLoading = false;
10318
10318
  });
10319
10319
  }
10320
10320
  static {