Skip to content

Commit d256eee

Browse files
committed
fix(android): DashPathEffect fix
1 parent c8dc0e1 commit d256eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/canvas.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function arrayToNativeArray(array: number[] | TypedArray, useInts = false
105105
}
106106
const length = array.length;
107107
const typedArray = ArrayBuffer.isView(array) ? (array as any as TypedArray) : createArrayBuffer(length, useInts);
108-
108+
typedArray.set(array);
109109
return pointsFromBuffer(typedArray, useInts, canReturnBuffer);
110110
}
111111

0 commit comments

Comments
 (0)