diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-13 09:27:25 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-13 09:27:25 -0500 |
| commit | df0c30a1f8c1a507be7582a9c97dc5546ae719c8 (patch) | |
| tree | 9c489f866f68aac465f2e7a7d59d68c4fe056788 /src/client/views/DocumentDecorations.tsx | |
| parent | b18d4d2b9a4a624e61116642d4dbfe9a53437d0c (diff) | |
fixed marquee annotations on pdfs from crashing - still need to fix offset problem.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 2dfd1e23c..6d8bd30be 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -458,7 +458,7 @@ export class DocumentDecorations extends React.Component<{ boundsLeft: number, b top: bounds.y - this._resizeBorderWidth / 2 - this._titleHeight, }}> {!canDelete ? <div /> : topBtn("close", "times", this.onCloseClick, "Close")} - {seldoc.props.hideTitle || seldoc.props.Document.type === DocumentType.EQUATION ? (null) : titleArea} + {seldoc.props.hideDecorationTitle || seldoc.props.Document.type === DocumentType.EQUATION ? (null) : titleArea} {seldoc.props.hideResizeHandles || seldoc.props.Document.type === DocumentType.EQUATION ? (null) : <> {SelectionManager.Views().length !== 1 || seldoc.Document.type === DocumentType.INK ? (null) : |
