aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/formattedText/DashDocView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/formattedText/DashDocView.tsx')
-rw-r--r--src/client/views/nodes/formattedText/DashDocView.tsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/client/views/nodes/formattedText/DashDocView.tsx b/src/client/views/nodes/formattedText/DashDocView.tsx
index 1002ee403..5a13fa8b4 100644
--- a/src/client/views/nodes/formattedText/DashDocView.tsx
+++ b/src/client/views/nodes/formattedText/DashDocView.tsx
@@ -177,7 +177,7 @@ export class DashDocViewInternal extends React.Component<IDashDocViewInternal> {
};
componentWillUnmount = () => Object.values(this._disposers).forEach(disposer => disposer?.());
- isContentActive = () => this.props.tbox.props.isSelected() || this.props.tbox.isAnyChildContentActive?.();
+ isContentActive = () => this.props.tbox._props.isSelected() || this.props.tbox.isAnyChildContentActive?.();
render() {
return !this._dashDoc || !this._finalLayout || this.props.hidden ? null : (
@@ -205,21 +205,21 @@ export class DashDocViewInternal extends React.Component<IDashDocViewInternal> {
removeDocument={this.removeDoc}
isDocumentActive={returnFalse}
isContentActive={this.isContentActive}
- styleProvider={this._textBox.props.styleProvider}
- docViewPath={this._textBox.props.docViewPath}
+ styleProvider={this._textBox._props.styleProvider}
+ docViewPath={this._textBox._props.docViewPath}
ScreenToLocalTransform={this.getDocTransform}
- addDocTab={this._textBox.props.addDocTab}
+ addDocTab={this._textBox._props.addDocTab}
pinToPres={returnFalse}
- renderDepth={this._textBox.props.renderDepth + 1}
+ renderDepth={this._textBox._props.renderDepth + 1}
PanelWidth={this._finalLayout[Width]}
PanelHeight={this._finalLayout[Height]}
focus={this.outerFocus}
whenChildContentsActiveChanged={this.props.tbox.whenChildContentsActiveChanged}
bringToFront={emptyFunction}
dontRegisterView={false}
- childFilters={this.props.tbox?.props.childFilters}
- childFiltersByRanges={this.props.tbox?.props.childFiltersByRanges}
- searchFilterDocs={this.props.tbox?.props.searchFilterDocs}
+ childFilters={this.props.tbox?._props.childFilters}
+ childFiltersByRanges={this.props.tbox?._props.childFiltersByRanges}
+ searchFilterDocs={this.props.tbox?._props.searchFilterDocs}
/>
</div>
);