diff options
| author | bobzel <zzzman@gmail.com> | 2023-11-29 11:55:44 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-11-29 11:55:44 -0500 |
| commit | 872dc82886f8111da1bdfd282ac2a78ec3bdc1f6 (patch) | |
| tree | 5111fa27c38c2a971168b6dfd490a1a22b159948 /src/client/views/PropertiesView.tsx | |
| parent | e1c5b6ad318433d6e499f21065b35332f57b98ff (diff) | |
cleaned up presElementBox and did more this.rootDoc => this.Document/layoutDoc
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
| -rw-r--r-- | src/client/views/PropertiesView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 8f37a0564..76ea9123d 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -71,7 +71,7 @@ export class PropertiesView extends React.Component<PropertiesViewProps> { } @computed get selectedDocumentView() { if (SelectionManager.Views().length) return SelectionManager.Views()[0]; - if (PresBox.Instance?.selectedArray.size) return DocumentManager.Instance.getDocumentView(PresBox.Instance.rootDoc); + if (PresBox.Instance?.selectedArray.size) return DocumentManager.Instance.getDocumentView(PresBox.Instance.Document); return undefined; } @computed get isPres(): boolean { |
