Skip to content

Commit

Permalink
change scrollviewSuper to constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaobin Chen committed Oct 13, 2015
1 parent 3dc6487 commit f704abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Charts/Classes/Charts/BarLineChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ public class BarLineChartViewBase: ChartViewBase, UIGestureRecognizerDelegate

//address UITableViewWrepperView bug,
//if there is two scrollview together, we pick the outer one
var scrollViewSuper = scrollView?.superview
let scrollViewSuper = scrollView?.superview
if scrollViewSuper!.isKindOfClass(UIScrollView) {
scrollView = scrollViewSuper
}
Expand Down

0 comments on commit f704abb

Please sign in to comment.