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/presentationview/PresElementBox.tsx | |
| parent | aa7582dd4a46b6385e0be5bdc02f3d1076cab5b2 (diff) | |
simplified styleProvider arguments. fixed useClusters
Diffstat (limited to 'src/client/views/presentationview/PresElementBox.tsx')
| -rw-r--r-- | src/client/views/presentationview/PresElementBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/presentationview/PresElementBox.tsx b/src/client/views/presentationview/PresElementBox.tsx index 9742faa2b..37752d6ee 100644 --- a/src/client/views/presentationview/PresElementBox.tsx +++ b/src/client/views/presentationview/PresElementBox.tsx @@ -322,7 +322,7 @@ export class PresElementBox extends ViewBoxBaseComponent<FieldViewProps, PresDoc </div>} {miniView ? (null) : <div ref={miniView ? null : this._dragRef} className={`presItem-slide ${isSelected ? "active" : ""}`} style={{ - backgroundColor: this.props.styleProvider?.(this.layoutDoc, this.props, "color", this.props.layerProvider), + backgroundColor: this.props.styleProvider?.(this.layoutDoc, this.props, "color"), boxShadow: presBoxColor && presBoxColor !== "white" && presBoxColor !== "transparent" ? isSelected ? "0 0 0px 1.5px" + presBoxColor : undefined : undefined }}> <div className="presItem-name" style={{ maxWidth: showMore ? (toolbarWidth - 195) : toolbarWidth - 105, cursor: isSelected ? 'text' : 'grab' }}> |
