mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
Fix Size#isZero().
This commit is contained in:
parent
24f5188c24
commit
a58bbaf6cf
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ var Size = this.Size = Base.extend(/** @lends Size# */{
|
|||
* @return {Boolean} {@true both width and height are 0}
|
||||
*/
|
||||
isZero: function() {
|
||||
return this.width == 0 && this.width == 0;
|
||||
return this.width == 0 && this.height == 0;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue