forked from philackm/ScrollableGraphView
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normally we should iterate only until (and excluding) endIndex of a R…
…ange. Updated code related to activePointsInterval that did otherwise. This was mainly to fix startAnimations which were iterating from startIndex to endIndex and thus iterating once even on empty range 0..<0. Also, since activePointsInterval.endIndex can’t be bigger than data.count we can simplify some checks.
- Loading branch information
Andris
committed
Aug 3, 2016
1 parent
5b03c2a
commit 11ee073
Showing
1 changed file
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters