diff options
| author | bobzel <zzzman@gmail.com> | 2021-03-01 17:05:45 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-03-01 17:05:45 -0500 |
| commit | c41696a3169dc765512d64972ba4503cea8393e0 (patch) | |
| tree | 644cb81de4a23d4b38335bb4731fccc7d1a34504 /src/client/views/DocumentDecorations.tsx | |
| parent | bed03be10f9289e36f7e1621bbcf2579b0ca3f2d (diff) | |
added basic math typeset equation input
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 357bff36d..5b7394c42 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -611,8 +611,8 @@ export class DocumentDecorations extends React.Component<{ boundsLeft: number, b top: bounds.y - this._resizeBorderWidth / 2 - this._titleHeight, }}> {closeIcon} - {titleArea} - {seldoc.props.hideResizeHandles ? (null) : + {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) : <Tooltip key="i" title={<div className="dash-tooltip">{`${seldoc.finalLayoutKey.includes("icon") ? "De" : ""}Iconify Document`}</div>} placement="top"> |
