Skip to content

Commit

Permalink
Merge pull request #498 from leoMehlig/drag-offset-fix
Browse files Browse the repository at this point in the history
Fixed drag offset panning bug
  • Loading branch information
danielgindi committed Oct 23, 2015
2 parents 76b1247 + 0de62e8 commit dbc0db6
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 @@ -928,7 +928,7 @@ public class BarLineChartViewBase: ChartViewBase, BarLineScatterCandleBubbleChar

if (gestureRecognizer == _panGestureRecognizer)
{
if (_dataNotSet || !_dragEnabled || !self.hasNoDragOffset ||
if (_dataNotSet || !_dragEnabled || self.hasNoDragOffset ||
(self.isFullyZoomedOut && !self.isHighlightPerDragEnabled))
{
return false
Expand Down

0 comments on commit dbc0db6

Please sign in to comment.