diff options
author | bobzel <zzzman@gmail.com> | 2022-11-04 14:34:46 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-11-04 14:34:46 -0400 |
commit | 31a51e9dda07e48c88166bffbc8f1ad7166cd624 (patch) | |
tree | 848060dc1d5c358b2f5d2576e4269265a3f143fe /src/client/views/DocumentDecorations.tsx | |
parent | fe98c7d46df1852a74cd84dbe9ad010bfb3d5550 (diff) |
more fixes to sidebar annotations of pdfs to improve link following.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 47347284c..cec03c991 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -70,8 +70,10 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P ); } + @observable overrideBounds = false; @computed get Bounds() { + if (this.overrideBounds) return { x: 0, y: 0, r: 0, b: 0 }; const views = SelectionManager.Views(); return views .filter(dv => dv.props.renderDepth > 0) |