mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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) {
|
set: function(width, height) {
|
||||||
this.width = width;
|
this.width = width;
|
||||||
this.height = height;
|
this.height = height;
|
||||||
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
add: function() {
|
add: function() {
|
||||||
|
|
Loading…
Reference in a new issue