normalizeAspectRatio
function normalizeAspectRatio( panel: WritableDraft<TypedSubpanelV4 | DesignSurfaceV4>,): void;Defined in: measurement/aspectRatio.ts:62
Normalize the aspect ratio of a panel
Parameters
| Parameter | Type | Description |
|---|---|---|
panel | WritableDraft< | TypedSubpanelV4 | DesignSurfaceV4> | The panel to normalize and mutate |
Returns
void