diff options
author | bobzel <zzzman@gmail.com> | 2020-08-11 10:22:54 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-11 10:22:54 -0400 |
commit | 201dc881e15292ee4a013c72b9e473779cf14e18 (patch) | |
tree | e83dc80d049244716130770dfe7b21ef0e66b463 /src/client/views/nodes/DocHolderBox.tsx | |
parent | 30495903f786da3f63fb230a4c8edc0d7fbe83cf (diff) |
updated how background colors work
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 0c4242172..88eb48f51 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.backgroundColor?.(containedDoc), + background: this.props.backgroundColor?.(containedDoc, this.props.renderDepth), border: `#00000021 solid ${this.xPad}px`, borderTop: `#0000005e solid ${this.yPad}px`, borderBottom: `#0000005e solid ${this.yPad}px`, |