diff options
| author | bobzel <zzzman@gmail.com> | 2020-12-03 10:55:05 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-12-03 10:55:05 -0500 |
| commit | b3d1b60ac867a472ba791f57c8eb2d7afbb95767 (patch) | |
| tree | 4e9530d03ea91ed79770743901c9dbcbc3a16a16 /src/client/views/nodes/DocHolderBox.tsx | |
| parent | 2770f8609818b11b3073ded0bec437abc333f37f (diff) | |
changed parameters for style provider to use documentViewProps instead of renderDepth
Diffstat (limited to 'src/client/views/nodes/DocHolderBox.tsx')
| -rw-r--r-- | src/client/views/nodes/DocHolderBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocHolderBox.tsx b/src/client/views/nodes/DocHolderBox.tsx index 58f4df823..f0a1a3278 100644 --- a/src/client/views/nodes/DocHolderBox.tsx +++ b/src/client/views/nodes/DocHolderBox.tsx @@ -184,7 +184,7 @@ export class DocHolderBox extends ViewBoxAnnotatableComponent<FieldViewProps, Do onContextMenu={this.specificContextMenu} onPointerDown={this.onPointerDown} onClick={this.onClick} style={{ - background: this.props.styleProvider?.(containedDoc, this.props.renderDepth, "backgroundColor", this.props.layerProvider), + background: this.props.styleProvider?.(containedDoc, this.props, "backgroundColor", this.props.layerProvider), border: `#00000021 solid ${this.xPad}px`, borderTop: `#0000005e solid ${this.yPad}px`, borderBottom: `#0000005e solid ${this.yPad}px`, |
