Commit e3f6636
authored
Prevent crash when updating datasets and calling animation functions
Sometimes, when changing datasets and then animating, an erroneous highlight is generated for the removed dataset. Null check prevents crash (interestingly the iOS lib had the same issue)1 parent b3d33e3 commit e3f6636
File tree
1 file changed
+3
-1
lines changed- MPChartLib/src/main/java/com/github/mikephil/charting/charts
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
761 | 761 | | |
762 | 762 | | |
763 | 763 | | |
| 764 | + | |
| 765 | + | |
764 | 766 | | |
765 | | - | |
| 767 | + | |
766 | 768 | | |
767 | 769 | | |
768 | 770 | | |
| |||
0 commit comments