]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
fix: correct grammar in segment comments (#12084)
authornakanoh <hirofumi0081@gmail.com>
Tue, 10 Jun 2025 10:17:06 +0000 (19:17 +0900)
committerGitHub <noreply@github.com>
Tue, 10 Jun 2025 10:17:06 +0000 (12:17 +0200)
src/plugins/plugin.filler/filler.target.stack.js

index 006c5737fea463fe3af5b6acd5ba935157dcac3f..8c6d0532c123dfe1ae8604a20d6224b7310e3370 100644 (file)
@@ -65,13 +65,12 @@ function addPointsBelow(points, sourcePoint, linesBelow) {
       continue;
     }
     if (first) {
-      // First point of an segment -> need to add another point before this,
-      // from next line below.
+      // First point of a segment -> need to add another point before this,
       postponed.unshift(point);
     } else {
       points.push(point);
       if (!last) {
-        // In the middle of an segment, no need to add more points.
+        // In the middle of a segment, no need to add more points.
         break;
       }
     }