Skip to content

Commit fdf543c

Browse files
committed
Merge branch 'feat/rotate_on_flip' of https://github.com/brenoliradev/svelte into feat/rotate_on_flip
2 parents 0619b76 + d4bc59d commit fdf543c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/svelte/src/animate/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function flip(node, { from, to }, params = {}) {
1717
var transform = style.transform === 'none' ? '' : style.transform;
1818
var [ox, oy] = style.transformOrigin.split(' ').map(parseFloat);
1919

20-
var m = new DOMMatrix(transform);
20+
var m = new DOMMatrixReadOnly(transform);
2121

2222
var dsx = from.width / to.width;
2323
var dsy = from.height / to.height;

0 commit comments

Comments
 (0)