|
@@ -57,6 +57,7 @@ public class MVBanner: UIView {
|
|
|
public required init(frame: CGRect = .zero, margin: CGFloat = 0, lineSpacing: CGFloat = 0, minScale: Scale = Scale()) {
|
|
|
super.init(frame: frame)
|
|
|
self.flowLayout = MVBannerFlowLayout(margin: margin, lineSpacing: lineSpacing, minScale: minScale)
|
|
|
+ self.flowLayout.sectionInset = UIEdgeInsets.init(top: 0, left: 30, bottom: 0, right: 30)
|
|
|
self.setupSubviews()
|
|
|
}
|
|
|
|