diff options
author | bobzel <zzzman@gmail.com> | 2022-09-27 14:56:28 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-09-27 14:56:28 -0400 |
commit | 4580a4193edb451f628eee8be2d3c31d06b1a3a7 (patch) | |
tree | 304de600d9c935fb065a34fce450b264d09f9062 /src/client/views/collections/CollectionNoteTakingView.tsx | |
parent | c89d1bf84a352b40749deeddf39591020550cd31 (diff) |
fixed so that following link to video doesn't zoom the video (works the same way as PDFs or web pages -- if the document is 'scrollable', then don't zoom in on it as well).
Diffstat (limited to 'src/client/views/collections/CollectionNoteTakingView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionNoteTakingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionNoteTakingView.tsx b/src/client/views/collections/CollectionNoteTakingView.tsx index 92c0bc341..b0f64ed60 100644 --- a/src/client/views/collections/CollectionNoteTakingView.tsx +++ b/src/client/views/collections/CollectionNoteTakingView.tsx @@ -193,7 +193,7 @@ export class CollectionNoteTakingView extends CollectionSubView() { }; // let's dive in and get the actual document we want to drag/move around - focusDocument = (doc: Doc, options?: DocFocusOptions) => { + focusDocument = (doc: Doc, options: DocFocusOptions) => { Doc.BrushDoc(doc); let focusSpeed = 0; const found = this._mainCont && Array.from(this._mainCont.getElementsByClassName('documentView-node')).find((node: any) => node.id === doc[Id]); |