mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix negation in previous commit.
This commit is contained in:
parent
65f085cc98
commit
97ca1f6ff8
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ new function() {
|
|||
attrs = getTransform(item._matrix);
|
||||
if (segments.length === 0)
|
||||
return null;
|
||||
if (matchShapes && !item.isPolygon()) {
|
||||
if (matchShapes && item.isPolygon()) {
|
||||
if (segments.length >= 3) {
|
||||
type = item._closed ? 'polygon' : 'polyline';
|
||||
var parts = [];
|
||||
|
|
Loading…
Reference in a new issue