We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4a1fdf6 + c78bdde commit 298370cCopy full SHA for 298370c
ThunderBasics/MultipleShadowView.swift
@@ -43,6 +43,14 @@ public class MultipleShadowView: UIView {
43
return CornerObservableLayer.self
44
}
45
46
+ public override var backgroundColor: UIColor? {
47
+ didSet {
48
+ forEachShadowLayer { (shadowLayer) in
49
+ shadowLayer.backgroundColor = layer.backgroundColor
50
+ }
51
52
53
+
54
/// Whether the shadow layers should update their corner radius to match the view's
55
/// layer's corner radius
56
public var matchShadowCornerRadius: Bool = true {
0 commit comments