From 813b70c70bdab3455a13e84780fb2d935112d09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 15 May 2011 17:59:57 +0100 Subject: [PATCH] Update comment a bit to make code more clear. --- src/path/CompoundPath.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/path/CompoundPath.js b/src/path/CompoundPath.js index e856b874..78305a7e 100644 --- a/src/path/CompoundPath.js +++ b/src/path/CompoundPath.js @@ -22,9 +22,9 @@ var CompoundPath = this.CompoundPath = PathItem.extend({ if (items) { for (var i = 0, l = items.length; i < l; i++) { var item = items[i]; - // All paths except for the first one are reversed when - // creating a compound path, so that they draw holes. - // When keepDirection is set to true, child paths aren't reversed. + // All paths except for the top one (last one in list) are + // reversed when creating a compound path, so that they draw + // holes. When keepDirection is set, children aren't reversed. if (!keepDirection && i != l - 1) item.reverse(); this.appendTop(items[i]);