diff options
author | bobzel <zzzman@gmail.com> | 2022-07-06 17:26:26 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-07-06 17:26:26 -0400 |
commit | 85e290ee7a666412570f2bae43a9b62d35b425f2 (patch) | |
tree | 65b2d2a72a57b122a5d23148eb863cd1f1d4054b /src/client/views/LightboxView.tsx | |
parent | b09e8c624884f8cd1ef98f4d93bc00f4fc7db333 (diff) |
fixed pushpin behavior to work with notes in annotation sidebar. fixed right-clicking on text anchors to bring up anchor menu
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 fcc4aea13..a1e71b5f4 100644 --- a/src/client/views/LightboxView.tsx +++ b/src/client/views/LightboxView.tsx @@ -233,7 +233,7 @@ export class LightboxView extends React.Component<LightboxViewProps> { const doc = LightboxView._doc; const targetView = target && DocumentManager.Instance.getLightboxDocumentView(target); if (doc === r.props.Document && (!target || target === doc)) r.ComponentView?.shrinkWrap?.(); - //else target && targetView?.focus(target, { willZoom: true, scale: 0.9, instant: true }); // bcz: why was this here? it breaks smooth navigation in lightbox using 'next' button + //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 })); })} Document={LightboxView.LightboxDoc} |