@@ 210,10 210,14 @@ class TournamentBracketView : UIView, UIScrollViewDelegate, Transitionable
previousRoundLayoutInfo = curRoundLayoutInfo
}
- // update content size
+ // update scroll view properties
_bracketScrollView.contentSize = maxSize
-
- _bracketScrollView.contentInset = UIEdgeInsets(top: 0.0, left: maxSize.width / 2.0, bottom: 0.0, right: 0.0)
+ _bracketScrollView.contentInset = UIEdgeInsets(
+ top: 0.0,
+ left: maxSize.width / 4.0,
+ bottom: 0.0,
+ right: 0.0
+ )
// update timeline view frame
let timelineFrame = CGRect(