Skip to content

normalizeAspectRatio

function normalizeAspectRatio(
panel: WritableDraft<TypedSubpanelV4 | DesignSurfaceV4>,
): void;

Defined in: measurement/aspectRatio.ts:62

Normalize the aspect ratio of a panel

Parameters

ParameterTypeDescription
panelWritableDraft< | TypedSubpanelV4 | DesignSurfaceV4>The panel to normalize and mutate

Returns

void