]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Recovered a fix lost when branching.
authorMatthieuRivaud <matthieu.rivaud+github@gmail.com>
Mon, 8 Aug 2016 13:56:53 +0000 (15:56 +0200)
committerMatthieuRivaud <matthieu.rivaud+github@gmail.com>
Mon, 8 Aug 2016 13:56:53 +0000 (15:56 +0200)
src/core/core.helpers.js

index 1108536d1fa21e3f78541151900cb2c5c0cae03e..b77035dcf68397a617ef68b8063976a9ae1890e4 100644 (file)
@@ -375,7 +375,7 @@ module.exports = function(Chart) {
                for (i = 0; i < pointsLen - 1; ++i) {
                        pointCurrent = pointsWithTangents[i];
                        pointAfter = pointsWithTangents[i + 1];
-                       if (pointCurrent.skip || pointAfter.skip) continue;
+                       if (pointCurrent.model.skip || pointAfter.model.skip) continue;
                        if (helpers.almostEquals(pointCurrent.deltaK, 0, this.EPSILON))
                        {
                                pointCurrent.mK = pointAfter.mK = 0;