mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Add comment about #clockwise magic happening in #append*() methods.
This commit is contained in:
parent
4d0858c6bf
commit
eafc0d202e
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ var CompoundPath = this.CompoundPath = PathItem.extend({
|
|||
// clockwise orientation when creating a compound path, so that they
|
||||
// appear as holes, but only if their orientation was not already
|
||||
// specified before (= _clockwise is defined).
|
||||
// TODO: This should really be handled in appendTop / Bottom, right?
|
||||
if (path._clockwise === undefined)
|
||||
path.setClockwise(i < l - 1);
|
||||
this.appendTop(path);
|
||||
|
|
Loading…
Reference in a new issue