Skip to content

Commit a601047

Browse files
committed
fix(android): cubic lines fix for android runtime 8.2.x
1 parent e29f508 commit a601047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/platforms/android/java/com/akylas/canvas/CanvasPath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public void addCubicLinesBuffer(@NonNull java.nio.FloatBuffer points, int offset
133133
final int l = length;
134134
moveTo(points.get(offset), points.get(offset + 1));
135135
for (int i = offset + 2; i < l; i += 6) {
136-
cubicTo(points.get(i), points.get(offset + 1), points.get(offset + 2), points.get(offset + 3), points.get(offset + 4), points.get(offset + 5));
136+
cubicTo(points.get(i), points.get(i + 1), points.get(i + 2), points.get(i + 3), points.get(i + 4), points.get(i + 5));
137137
}
138138
if (close) {
139139
close();

0 commit comments

Comments
 (0)