Skip to content
This repository was archived by the owner on Jun 17, 2018. It is now read-only.

Commit 7d93302

Browse files
committed
Set view's background color as default
1 parent 8b07f89 commit 7d93302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Pod/Classes/PagingViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ open class PagingViewController: UIViewController {
114114
}
115115

116116
pagingView.frame = .zero
117-
pagingView.backgroundColor = options.backgroundColor
117+
pagingView.backgroundColor = pagingView.backgroundColor ?? options.backgroundColor
118118
pagingView.translatesAutoresizingMaskIntoConstraints = false
119119

120120
contentScrollView.addSubview(pagingView)

0 commit comments

Comments
 (0)