mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-27 14:20:12 -04:00
Rename ObservedRectangle to LinkedRectangle, ObservedPoint to LinkedPoint, and add more comments about what it is they are doing.
This commit is contained in:
parent
dbb947b7aa
commit
b5fdecf3d1
6 changed files with 38 additions and 39 deletions
src/path
|
@ -42,7 +42,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
|
|||
y2 = Math.max(rect2.y + rect2.height, y1 + y2 - y1);
|
||||
}
|
||||
}
|
||||
return ObservedRectangle.create(this, 'setBounds',
|
||||
return LinkedRectangle.create(this, 'setBounds',
|
||||
x1, y1, x2 - x1, y2 - y1);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue