From c81a0e81b2792c44b06078af8b15527581825182 Mon Sep 17 00:00:00 2001
From: rhenck <richard.henck@iqb.hu-berlin.de>
Date: Mon, 17 Jun 2024 22:11:33 +0200
Subject: [PATCH] [editor] Fix imports

---
 projects/editor/src/app/app.module.ts                        | 5 ++++-
 .../input-groups/dimension-field-set.component.ts            | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/projects/editor/src/app/app.module.ts b/projects/editor/src/app/app.module.ts
index 9d769ff9a..48dd13d91 100644
--- a/projects/editor/src/app/app.module.ts
+++ b/projects/editor/src/app/app.module.ts
@@ -129,6 +129,7 @@ import { PageMenu } from 'editor/src/app/components/unit-view/page-menu.componen
 import { MAT_TOOLTIP_DEFAULT_OPTIONS, MatTooltipDefaultOptions } from '@angular/material/tooltip';
 import { ReferenceListComponent } from 'editor/src/app/components/reference-list.component';
 import { ElementListComponent } from 'editor/src/app/components/element-list.component';
+import { MeasurePipe } from 'common/pipes/measure.pipe';
 
 /** Custom options the configure the tooltip's default show/hide delays. */
 export const myCustomTooltipDefaults: MatTooltipDefaultOptions = {
@@ -236,7 +237,9 @@ export const myCustomTooltipDefaults: MatTooltipDefaultOptions = {
     EleSpecificPropsComponent,
     PageMenu,
     ReferenceListComponent,
-    ElementListComponent
+    ElementListComponent,
+    SizeInputPanelComponent,
+    MeasurePipe
   ],
   providers: [
     { provide: APIService, useExisting: VeronaAPIService },
diff --git a/projects/editor/src/app/components/properties-panel/position-properties-tab/input-groups/dimension-field-set.component.ts b/projects/editor/src/app/components/properties-panel/position-properties-tab/input-groups/dimension-field-set.component.ts
index 63736bce2..ba0ae215e 100644
--- a/projects/editor/src/app/components/properties-panel/position-properties-tab/input-groups/dimension-field-set.component.ts
+++ b/projects/editor/src/app/components/properties-panel/position-properties-tab/input-groups/dimension-field-set.component.ts
@@ -11,7 +11,7 @@ import { ElementService } from 'editor/src/app/services/unit-services/element.se
       <legend>Dimensionen</legend>
       <ng-container *ngIf="unitService.unit.pages[selectionService.selectedPageIndex]
                     .sections[selectionService.selectedSectionIndex].dynamicPositioning ||
-                    selectionService.isClozeChildSelected;
+                    selectionService.isCompoundChildSelected;
                     else elseBlock">
         <mat-checkbox #fixedWidth [checked]="$any(dimensions.isWidthFixed)"
                       (change)="updateDimensionProperty('isWidthFixed', $event.checked)">
-- 
GitLab