diff options
| author | bobzel <zzzman@gmail.com> | 2024-04-24 14:56:48 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-04-24 14:56:48 -0400 |
| commit | aa4f7b37483c516b92181d3374d3151972b98383 (patch) | |
| tree | 042520fc1fad30c00e27c532a872b4129f29264d /src/client/views/collections/collectionFreeForm/CollectionFreeFormPannableContents.tsx | |
| parent | 9d69ab27de83ead3e499edc9028ba85749407a1e (diff) | |
fixed search on pdfs to display results when pDF is not selected. fixed presentation transitions to animate. changed so that annotaitons on pdfs would highlight when following a pres slide. fixed scrolling to annotations (and other viewSpecs) from presentations by using the slide target, not the slide as the focus document. cleaned up search and fixed to unhighlight searches on close. fixe pdf search unhighligting to work.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormPannableContents.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormPannableContents.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormPannableContents.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormPannableContents.tsx index 707f6c198..90977d955 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormPannableContents.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormPannableContents.tsx @@ -11,7 +11,7 @@ export interface CollectionFreeFormPannableContentsProps { Document: Doc; viewDefDivClick?: ScriptField; children?: React.ReactNode | undefined; - transition?: string; + transition: () => string; isAnnotationOverlay: boolean | undefined; showPresPaths: () => boolean; transform: () => string; @@ -53,7 +53,7 @@ export class CollectionFreeFormPannableContents extends ObservableReactComponent }} style={{ transform: this._props.transform(), - transition: this._props.transition, + transition: this._props.transition(), width: this._props.isAnnotationOverlay ? undefined : 0, // if not an overlay, then this will be the size of the collection, but panning and zooming will move it outside the visible border of the collection and make it selectable. This problem shows up after zooming/panning on a background collection -- you can drag the collection by clicking on apparently empty space outside the collection }}> {this.props.children} |
