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/nodes/FontIconBox.tsx | |
| parent | aa7582dd4a46b6385e0be5bdc02f3d1076cab5b2 (diff) | |
simplified styleProvider arguments. fixed useClusters
Diffstat (limited to 'src/client/views/nodes/FontIconBox.tsx')
| -rw-r--r-- | src/client/views/nodes/FontIconBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FontIconBox.tsx b/src/client/views/nodes/FontIconBox.tsx index c9ee4126e..a1bb0604e 100644 --- a/src/client/views/nodes/FontIconBox.tsx +++ b/src/client/views/nodes/FontIconBox.tsx @@ -61,7 +61,7 @@ export class FontIconBox extends DocComponent<FieldViewProps, FontIconDocument>( render() { const label = StrCast(this.rootDoc.label, StrCast(this.rootDoc.title)); const color = StrCast(this.layoutDoc.color, this._foregroundColor); - const backgroundColor = this.props.styleProvider?.(this.rootDoc, this.props, "backgroundColor", this.props.layerProvider); + const backgroundColor = this.props.styleProvider?.(this.rootDoc, this.props, "backgroundColor"); const shape = StrCast(this.layoutDoc.iconShape, label ? "round" : "circle"); const icon = StrCast(this.dataDoc.icon, "user") as any; const presSize = shape === 'round' ? 25 : 30; |
