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/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | 30495903f786da3f63fb230a4c8edc0d7fbe83cf (diff) | |
updated how background colors work
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 2b8e949b1..17ae7037e 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -378,7 +378,7 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P } getClusterColor = (doc: Doc) => { - let clusterColor = this.props.backgroundColor?.(doc); + let clusterColor = this.props.backgroundColor?.(doc, this.props.renderDepth + 1); const cluster = NumCast(doc.cluster); if (this.Document.useClusters) { if (this._clusterSets.length <= cluster) { |
