1
0
Fork 0

Update utils.mjs

fixed typo transorms -> transforms on line 857 and transorm -> transform on line 881
This commit is contained in:
Himanshu Singh 2023-10-28 12:48:28 +05:30 committed by GitHub
parent 8a8074da86
commit 4431a027e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -854,7 +854,7 @@ function matrixTransform(transformationType, matrix, values) {
/**
* Combines an array of (SVG) transforms into a single matrix transform
*
* @param {array} transorms - The list of transforms to combine
* @param {array} transforms - The list of transforms to combine
* @return {string} matrixTransform - The combined matrix transform
*/
export function combineTransforms(transforms = []) {
@ -878,7 +878,7 @@ export function combineTransforms(transforms = []) {
/**
* Applies and (SVG) transform to a point's coordinates (x and y)
*
* @param {string} transorm - The transform to apply
* @param {string} transform - The transform to apply
* @param {Point} point - The point of which to update the coordinates
* @return {Point} point - The point with the transform applied to its coordinates
*/