aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/ViewBoxInterface.ts
diff options
context:
space:
mode:
authorNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-10-03 02:47:23 -0400
committerNathan-SR <144961007+Nathan-SR@users.noreply.github.com>2024-10-03 02:47:23 -0400
commitb21d8cc9d1b25ccd2e0103f47ad132dd6f04612d (patch)
treede6de9f556dd647f132a1f707a93c77a38946f1c /src/client/views/ViewBoxInterface.ts
parentb013de245c77e40487e9842650239eff20c0e361 (diff)
parent7af6d22556467c115809222db77d4056b42f390f (diff)
Merge branch 'nathan-starter' of https://github.com/brown-dash/Dash-Web into nathan-starter
Diffstat (limited to 'src/client/views/ViewBoxInterface.ts')
-rw-r--r--src/client/views/ViewBoxInterface.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/ViewBoxInterface.ts b/src/client/views/ViewBoxInterface.ts
index dce64ab92..f66f6062e 100644
--- a/src/client/views/ViewBoxInterface.ts
+++ b/src/client/views/ViewBoxInterface.ts
@@ -22,7 +22,7 @@ export abstract class ViewBoxInterface<P> extends ObservableReactComponent<React
return ''; //
}
promoteCollection?: () => void; // moves contents of collection to parent
- updateIcon?: () => void; // updates the icon representation of the document
+ 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)
restoreView?: (viewSpec: Doc) => boolean;
scrollPreview?: (docView: DocumentView, doc: Doc, focusSpeed: number, options: FocusViewOptions) => Opt<number>; // returns the duration of the focus