mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Remove misleading alternative parameter comment.
This commit is contained in:
parent
6052e94a2a
commit
44e5c30436
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ var Matrix = this.Matrix = Base.extend(/** @lends Matrix# */{
|
|||
* @param {Point} [center] The center for the scaling transformation
|
||||
* @return {Matrix} This affine transform
|
||||
*/
|
||||
scale: function(hor, ver /* | scale */, center) {
|
||||
scale: function(hor, ver, center) {
|
||||
if (arguments.length < 2 || typeof ver === 'object') {
|
||||
// hor is the single scale parameter, representing both hor and ver
|
||||
// Read center first from argument 1, then set ver = hor (thus
|
||||
|
|
Loading…
Reference in a new issue