mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Implement Matrix#skew() calls for SVG skewX / skewY correctly.
This commit is contained in:
parent
e12ab846bd
commit
f62e4d43ba
1 changed files with 2 additions and 1 deletions
|
@ -332,8 +332,9 @@ new function() {
|
|||
matrix.scale(v);
|
||||
break;
|
||||
case 'skewX':
|
||||
matrix.skew(v[0], 0);
|
||||
case 'skewY':
|
||||
matrix.skew(isX ? v[0] : 0, isX ? 0 : v[0]);
|
||||
matrix.skew(0, v[0]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue