Skip to content

Commit

Permalink
Fixed a case where of highlight not clearing on first tap
Browse files Browse the repository at this point in the history
Happening after calling highlightValues(...)
  • Loading branch information
danielgindi committed Oct 23, 2015
1 parent 24f86d5 commit 1861217
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Charts/Classes/Charts/ChartViewBase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,10 @@ public class ChartViewBase: UIView, ChartDataProvider, ChartAnimatorDelegate
{
self.lastHighlighted = nil
}
else
{
self.lastHighlighted = _indicesToHighlight[0];
}

// redraw the chart
setNeedsDisplay()
Expand Down

0 comments on commit 1861217

Please sign in to comment.