diff options
author | bobzel <zzzman@gmail.com> | 2020-11-22 10:34:14 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-11-22 10:34:14 -0500 |
commit | 6862403368f752ad44c9e64bfdbcb38d2c32287c (patch) | |
tree | 0c37022040ffdfd9080c2e85b0f80260abd00d7d /src/client/views/collections/CollectionCarouselView.tsx | |
parent | 650ca6166548a6ea1554064c98a2927f0450942a (diff) |
converted backgroundColor prop to a more general styleProvider.
Diffstat (limited to 'src/client/views/collections/CollectionCarouselView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionCarouselView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionCarouselView.tsx b/src/client/views/collections/CollectionCarouselView.tsx index 8c58a5679..e32400385 100644 --- a/src/client/views/collections/CollectionCarouselView.tsx +++ b/src/client/views/collections/CollectionCarouselView.tsx @@ -65,7 +65,7 @@ export class CollectionCarouselView extends CollectionSubView(CarouselDocument) </div> <div className="collectionCarouselView-caption" key="caption" style={{ - background: StrCast(this.layoutDoc._captionBackgroundColor, this.props.backgroundColor?.(this.props.Document, this.props.renderDepth, this.props.layerProvider)), + background: StrCast(this.layoutDoc._captionBackgroundColor, this.props.styleProvider?.(this.props.Document, this.props.renderDepth, "color", this.props.layerProvider)), color: StrCast(this.layoutDoc._captionColor, StrCast(this.layoutDoc.color)), borderRadius: StrCast(this.layoutDoc._captionBorderRounding), }}> |