mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Minor fix in Matrix#shear()
This commit is contained in:
parent
9e5b47c1ac
commit
04f2f19a43
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ var Matrix = this.Matrix = Base.extend(/** @lends Matrix# */{
|
||||||
// Do not modify point, center, since that would arguments of which
|
// Do not modify point, center, since that would arguments of which
|
||||||
// we're reading from!
|
// we're reading from!
|
||||||
var _point = Point.read(arguments),
|
var _point = Point.read(arguments),
|
||||||
_center = Point.read(arguments);
|
_center = Point.read(arguments, 0, 0, false, true); // readNull
|
||||||
if (_center)
|
if (_center)
|
||||||
this.translate(_center);
|
this.translate(_center);
|
||||||
var a = this._a,
|
var a = this._a,
|
||||||
|
|
Loading…
Reference in a new issue