Skip to content

Commit

Permalink
Merge pull request #4271 from danielgindi/bugfix/chartViewDidEndPanning
Browse files Browse the repository at this point in the history
Call chartViewDidEndPanning on when *panning* is ended
  • Loading branch information
danielgindi authored Jan 23, 2020
2 parents 697e7a3 + a28ccdc commit c9ab42f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Charts/Charts/BarLineChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -787,15 +787,15 @@ open class BarLineChartViewBase: ChartViewBase, BarLineScatterCandleBubbleChartD
}

_isDragging = false

delegate?.chartViewDidEndPanning?(self)
}

if _outerScrollView !== nil
{
_outerScrollView?.nsuiIsScrollEnabled = true
_outerScrollView = nil
}

delegate?.chartViewDidEndPanning?(self)
}
}

Expand Down

0 comments on commit c9ab42f

Please sign in to comment.