Skip to content

Commit c919f51

Browse files
committed
fix: ts lint error
1 parent 65789e2 commit c919f51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/map/src/map/geo/transform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ export class Transform {
543543
}
544544

545545
customLayerMatrix(): mat4 {
546-
return this.mercatorMatrix.slice() as any;
546+
return mat4.clone(this.mercatorMatrix);
547547
}
548548

549549
/**

0 commit comments

Comments
 (0)