mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Allow chaining of Size setters.
This commit is contained in:
parent
9f67f32701
commit
7fa53a2db3
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ var Size = this.Size = Base.extend({
|
|||
set: function(width, height) {
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
return this;
|
||||
},
|
||||
|
||||
add: function() {
|
||||
|
|
Loading…
Reference in a new issue