diff options
| author | bobzel <zzzman@gmail.com> | 2020-12-08 12:55:54 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-12-08 12:55:54 -0500 |
| commit | cae3cd5b324084986a631348626d0230561f34a7 (patch) | |
| tree | dc5862bb3403a664a2c8d5a4e0d3153df1701231 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | aa7582dd4a46b6385e0be5bdc02f3d1076cab5b2 (diff) | |
simplified styleProvider arguments. fixed useClusters
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index ac01536c9..681584cc5 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -215,7 +215,7 @@ export class CollectionTreeView extends CollectionSubView<Document, Partial<coll render() { TraceMobx(); if (!(this.doc instanceof Doc)) return (null); - const background = this.props.styleProvider?.(this.doc, this.props, "backgroundColor", this.props.layerProvider); + const background = this.props.styleProvider?.(this.doc, this.props, "backgroundColor"); const paddingX = `${NumCast(this.doc._xPadding, 10)}px`; const paddingTop = `${NumCast(this.doc._yPadding, 20)}px`; const pointerEvents = !this.props.active() && !SnappingManager.GetIsDragging() && !this._isChildActive ? "none" : undefined; |
