diff options
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentView.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx index 98b021f69..103e68aed 100644 --- a/src/client/views/nodes/DocumentView.tsx +++ b/src/client/views/nodes/DocumentView.tsx @@ -1294,10 +1294,10 @@ export class DocumentViewInternal extends DocComponent<DocumentViewInternalProps } } @computed get highlighting() { - return this.props.styleProvider?.(this.layoutDoc, this.props, StyleProp.Highlighting); + return this.props.styleProvider?.(this.Document, this.props, StyleProp.Highlighting); } @computed get borderPath() { - return this.props.styleProvider?.(this.layoutDoc, this.props, StyleProp.BorderPath); + return this.props.styleProvider?.(this.Document, this.props, StyleProp.BorderPath); } render() { TraceMobx(); |
