aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-12-02 18:01:02 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-12-02 18:01:02 +0530
commit3bbca467d5cadb367c34c5296e957bd1d388cfca (patch)
tree2b9e7429e342a89795f64ca9fc2d32c749ea12c3 /src/client/views/collections/collectionFreeForm
parent1f9baca276426444a4ebea06023402876f033ebe (diff)
parent23290bd8a8d1cb1f1254a7b600bdc6f540caf52e (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into acls_uv
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx2
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 ea630b67a..0ba13192d 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -395,7 +395,7 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P
getClusterColor = (doc: Opt<Doc>, renderDepth: number, property: string, layerProvider?: (doc: Doc, assign?: boolean) => boolean) => {
let clusterColor = this.props.styleProvider?.(doc, this.props.renderDepth + 1, property, layerProvider);
- if (property !== "color") return clusterColor;
+ if (property !== "backgroundColor") return clusterColor;
const cluster = NumCast(doc?.cluster);
if (this.Document._useClusters) {
if (this._clusterSets.length <= cluster) {