Skip to content

Commit

Permalink
chore(applyTransforms): fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SethFalco committed Mar 2, 2024
1 parent c3c8b74 commit c5ee1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/applyTransforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ const applyMatrixToPathData = (pathData, matrix) => {
}

// horizontal lineto (x)
// convert to lineto to handle two-dimentional transforms
// convert to lineto to handle two-dimensional transforms
if (command === 'H') {
command = 'L';
args = [args[0], cursor[1]];
Expand All @@ -223,7 +223,7 @@ const applyMatrixToPathData = (pathData, matrix) => {
}

// vertical lineto (y)
// convert to lineto to handle two-dimentional transforms
// convert to lineto to handle two-dimensional transforms
if (command === 'V') {
command = 'L';
args = [cursor[0], args[0]];
Expand Down

0 comments on commit c5ee1bb

Please sign in to comment.