diff options
| author | bobzel <zzzman@gmail.com> | 2023-12-01 12:17:10 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-12-01 12:17:10 -0500 |
| commit | 678abdfceaa25cb84c4232f44a7c161b6d39b546 (patch) | |
| tree | 3ee85b4796619d06949daa964556d19ed0a98830 /src/client/views/DocumentDecorations.tsx | |
| parent | 9ae07e29f41df9d64985c25b67054843a99a0224 (diff) | |
cleaning up documentview props. got rid of special cases for keyValueBox. made fitToContents work cleanly for native scaled docs.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index 719055149..b9fcf5360 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -611,9 +611,6 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P get selectionTitle(): string { if (SelectionManager.Views().length === 1) { const selected = SelectionManager.Views()[0]; - if (selected.ComponentView?.getTitle?.()) { - return selected.ComponentView.getTitle(); - } if (this._titleControlString.startsWith('=')) { return ScriptField.MakeFunction(this._titleControlString.substring(1), { doc: Doc.name })!.script.run({ self: selected.Document, this: selected.layoutDoc }, console.log).result?.toString() || ''; } |
