From 463f50a0c13f862723284164002518072a241103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 26 Dec 2015 19:45:55 +0100 Subject: [PATCH] Adjust comment by @iconexperience. As outlined here: https://github.com/paperjs/paper.js/issues/854#issuecomment-167334294 --- src/path/PathItem.Boolean.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/path/PathItem.Boolean.js b/src/path/PathItem.Boolean.js index 0919f378..afc3961f 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -815,8 +815,7 @@ PathItem.inject(new function() { if (isNonZero && !isOverlapping) { windings[i] += windings[j]; // Remove path if rule is nonzero and winding - // changes from nonzero to zero or from zero to - // nonzero between containing path and path. + // of path and containing path is not zero. if (windings[i] && windings[j]) { exclude = excluded[i] = true; break;