diff options
| author | bobzel <zzzman@gmail.com> | 2025-06-11 12:43:16 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-06-11 12:43:16 -0400 |
| commit | b4db1e2467337468139d0e92ef94799c4143a0fc (patch) | |
| tree | 1393a3529483b789656a867bcbaf54fd24d2e13a /src/client/views/ViewBoxInterface.ts | |
| parent | 3df4e67c42e431603d60f00d0a91867df7d0e2a6 (diff) | |
added outpaintable method to streamline determining which docs can be outpainted.
Diffstat (limited to 'src/client/views/ViewBoxInterface.ts')
| -rw-r--r-- | src/client/views/ViewBoxInterface.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/ViewBoxInterface.ts b/src/client/views/ViewBoxInterface.ts index b532dfe35..83e395867 100644 --- a/src/client/views/ViewBoxInterface.ts +++ b/src/client/views/ViewBoxInterface.ts @@ -25,6 +25,7 @@ export abstract class ViewBoxInterface<P> extends ObservableReactComponent<React hasChildDocs?: () => Doc[]; docEditorView?: () => void; autoTag?: () => void; // auto tag the document + isOutpaintable?: () => boolean; // can document be resized and outpainted showSmartDraw?: (x: number, y: number, regenerate?: boolean) => void; updateIcon?: (usePanelDimensions?: boolean) => Promise<void>; // updates the icon representation of the document getAnchor?: (addAsAnnotation: boolean, pinData?: PinProps) => Doc; // returns an Anchor Doc that represents the current state of the doc's componentview (e.g., the current playhead location of a an audio/video box) |
