mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Fix TODO in Matrix#scale().
This commit is contained in:
parent
cd9fc39f54
commit
2bb9153810
1 changed files with 1 additions and 2 deletions
|
@ -138,8 +138,7 @@ var Matrix = this.Matrix = Base.extend(/** @lends Matrix# */{
|
|||
// Do not modify scale, center, since that would arguments of which
|
||||
// we're reading from!
|
||||
var _scale = Point.read(arguments),
|
||||
_center = Point.read(arguments);
|
||||
// TODO: Isn't center always set this way??
|
||||
_center = Point.read(arguments, 0, 0, false, true); // readNull
|
||||
if (_center)
|
||||
this.translate(_center);
|
||||
this._a *= _scale.x;
|
||||
|
|
Loading…
Reference in a new issue