aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers.js')
-rw-r--r--src/helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.js b/src/helpers.js
index 7fe9f7a..f3a36b9 100644
--- a/src/helpers.js
+++ b/src/helpers.js
@@ -72,7 +72,7 @@ function stringToMatrix(source) {
source = source
.replace(SVG.regex.whitespace, '')
.replace(SVG.regex.matrix, '')
- .split(',')
+ .split(SVG.regex.matrixElements)
// convert string values to floats and convert to a matrix-formatted object
return arrayToMatrix(