From caca04a00eddf478945120a143c676e51fc3d898 Mon Sep 17 00:00:00 2001 From: Jeremy Folds <2747251+jmfolds@users.noreply.github.com> Date: Mon, 21 Oct 2019 13:16:38 -0600 Subject: [PATCH] add MSCSSMatrix to matrixFn options --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index 7109c97..2758830 100644 --- a/src/utils.js +++ b/src/utils.js @@ -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)); } -- GitLab