diff options
author | bobzel <zzzman@gmail.com> | 2022-10-07 15:03:22 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-10-07 15:03:22 -0400 |
commit | a90bce69bcb5dfe09d8f2605e0dc244cf9fcc7ad (patch) | |
tree | 74d08977a4c4913647b57313acb6baf0e1901880 /src/client/views/LightboxView.tsx | |
parent | 0e41cb323c486b23c70e53d14a563adaf0eeef9e (diff) | |
parent | eb5f75785fd28acb50f1b30434e89223fff00185 (diff) |
Merge branch 'master' into pres-pin-fixes
Diffstat (limited to 'src/client/views/LightboxView.tsx')
-rw-r--r-- | src/client/views/LightboxView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/LightboxView.tsx b/src/client/views/LightboxView.tsx index e8b8a3eaa..bd6cea28a 100644 --- a/src/client/views/LightboxView.tsx +++ b/src/client/views/LightboxView.tsx @@ -281,7 +281,7 @@ export class LightboxView extends React.Component<LightboxViewProps> { action(() => { const target = LightboxView._docTarget; const doc = LightboxView._doc; - const targetView = target && DocumentManager.Instance.getLightboxDocumentView(target); + //const targetView = target && DocumentManager.Instance.getLightboxDocumentView(target); if (doc === r.props.Document && (!target || target === doc)) r.ComponentView?.shrinkWrap?.(); //else target?.focus(target, { willZoom: true, scale: 0.9, instant: true }); // bcz: why was this here? it breaks smooth navigation in lightbox using 'next' button }) |