Skip to content

Commit

Permalink
add MSCSSMatrix to matrixFn options
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfolds committed Oct 21, 2019
1 parent 3d7b988 commit 22d2bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ function matrix(el, selfOnly) {
} while (!selfOnly && (el = el.parentNode));
}

const matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix;
const matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
/*jshint -W056 */
return matrixFn && (new matrixFn(appliedTransforms));
}
Expand Down

0 comments on commit 22d2bc0

Please sign in to comment.