Skip to content

Type Alias: CanvasFit

ts
type CanvasFit = "full" | "available";

Defined in: packages/ai-enhancer/src/widgets/ai-editor/ui/UcAiEnhancer.ts:101

How the canvas sizes relative to the composer.

  • available: the canvas uses only the space left by the composer, which is docked outside the image (history chips still overlay the canvas).
  • full: the canvas fills the whole area and the composer floats over it.