mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -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
|
* @param {Point} [center] The center for the scaling transformation
|
||||||
* @return {Matrix} This affine transform
|
* @return {Matrix} This affine transform
|
||||||
*/
|
*/
|
||||||
scale: function(hor, ver /* | scale */, center) {
|
scale: function(hor, ver, center) {
|
||||||
if (arguments.length < 2 || typeof ver === 'object') {
|
if (arguments.length < 2 || typeof ver === 'object') {
|
||||||
// hor is the single scale parameter, representing both hor and ver
|
// hor is the single scale parameter, representing both hor and ver
|
||||||
// Read center first from argument 1, then set ver = hor (thus
|
// Read center first from argument 1, then set ver = hor (thus
|
||||||
|
|
Loading…
Reference in a new issue