1
0
Fork 0

Merge pull request #5305 from Himanshu1801/bug/typo-fix

Update utils.mjs
This commit is contained in:
Joost De Cock 2023-10-28 09:55:49 +02:00 committed by GitHub
commit e137314132
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
*/